Berkeley.receive

Receive data on the connection. Returns the number of bytes actually received, 0 if the remote side has closed the connection, or ERROR on failure. If the socket is blocking, receive waits until there is data to be received.

Returns number of bytes actually received, 0 on connection closure, or -1 on error

struct Berkeley
const
int
receive

Meta