Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ITcpSocket::recv ( P6UINT8 pBuffer,
P6UINT32  cBuffer,
P6UINT32 pcBytesRead,
P6INTERVAL  timeout 
)
pure virtual

Receives data from the specified socket which has been previously "connected" using the connect method.

Parameters
pBuffer[ in ] A pointer to a buffer to receive the data into .
cBuffer[ in ] The size of pBuffer in bytes. Fewer bytes than requested may be returned.
pcBytesRead[ out ] The address of an P6UINT32 in which to place the number of bytes actually sent.
timeout[ in ] The time as an P6INTERVAL to wait for the data to be received.
Returns