Mount Fuji Engine  0.8b
int MFSockets_Recv ( MFSocket  socket,
char *  pBuffer,
int  bufferSize,
uint32  flags 
)

Receives data from a connected or bound socket.

Parameters
socketDescriptor identifying a connected socket.
pBufferBuffer for the incoming data.
bufferSizeLength of pBuffer, in bytes.
flagsFlag specifying the way in which the call is made.
Returns
The number of bytes received. If the connection has been gracefully closed, the return value is zero.