In file No file:

int osl_receiveSocket (oslSocket Socket, void* pBuffer, int BytesToRead, oslSocketMsgFlag Flag)

Tries to receive BytesToRead data from the connected socket, if no error occurs

Documentation

Tries to receive BytesToRead data from the connected socket, if no error occurs. Note that incomplete recvs due to packet boundaries may occur.
Returns:
the number of received bytes.
Parameters:
Socket - [in] A connected socket to be used to listen on.
pBuffer - [out] Points to a buffer that will be filled with the received data.
BytesToRead - [in] The number of bytes to read. pBuffer must have at least this size.
Flag - [in] Modifier for the call. Valid values are:
  • osl_msg_normal,
  • osl_msg_oob,
  • osl_msg_peek,
  • osl_msg_dontroute,
  • osl_msg_maxiovlen,

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de