In file No file:

int osl_receiveFromSocket (oslSocket Socket, oslSocketAddr SenderAddr, void* pBuffer, int BufferSize, oslSocketMsgFlag Flag)

Tries to receives BufferSize data from the (usually unconnected) (datagram-)socket, if no error occurs

Documentation

Tries to receives BufferSize data from the (usually unconnected) (datagram-)socket, if no error occurs.
Returns:
the number of received bytes.
Parameters:
Socket - [in] A bound socket to be used to listen for a datagram.
SenderAddr - [out] An initialized oslSocketAddress. It will be filled with the address of the datagrams sender. If SenderAddr is 0, it is ignored.
pBuffer - [out] Points to a buffer that will be filled with the received datagram.
BufferSize - [in] The size of pBuffer.
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