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

Given an previsouly allocated p6IIoBuffer, this method receives data from the specified socket which has been previously "connected" using the connect method, directly into the p6IIoBuffer.

This method will automatically attempt to read the number of available bytes in the IoBuffer from the socket.

Parameters
pBuffer[ in ] A pointer to a buffer containing the data to be received.
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 data to be received.
Returns