A socket is not a file, you can't re-receive data. You'd have to request the data again from whatever service you connected to on the other side.
Or you could build a wrapper around the fsock routines and buffer all the read data so you can go back in the buffer.