reading exact number of bytes from the socket
Posted: Sun Jun 24, 2007 6:18 pm
hi
i am trying to work with sockets for the first time.
i need a function that reads exactly n bytes from the socket (and blocks until they are available)
how can i do this?
i am trying to work with sockets for the first time.
i need a function that reads exactly n bytes from the socket (and blocks until they are available)
how can i do this?