FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPacketSocket_Receive ( kPacketSocket  sockt,
void *  buffer,
kSize  size,
kSize bytesRead,
k64u  timeout 
)

Reads up to the specified number of bytes from the socket.

Parameters
socktkPacketSocket object.
bufferDestination for bytes that are read.
sizeMaximum count of bytes to read.
bytesReadReceives count of bytes read.
timeoutTimeout value, in microseconds.
Returns
Operation status.