In file No file:

int osl_sendToSocket (oslSocket Socket, oslSocketAddr ReceiverAddr, const void* pBuffer, int BytesToSend, oslSocketMsgFlag Flag)

Tries to send one datagram with BytesToSend data to the given ReceiverAddr via the (implicitly unconnected) datagram-socket

Documentation

Tries to send one datagram with BytesToSend data to the given ReceiverAddr via the (implicitly unconnected) datagram-socket. Since we only send one packet, we don't need to concern ourselfes here with incomplete sends due to packet boundaries.
Returns:
the number of transfered bytes.
Parameters:
Socket - [in] A bound or unbound socket. Socket will be bound after a successful call.
ReceiverAddr - [in] An initialized oslSocketAddress that contains the destination address for this send.
pBuffer - [in] Points to a buffer that contains the send-data.
BytesToSend - [in] The number of bytes to send. 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