Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IUdpSocket::sendTo ( P6UINT8 pBuffer,
P6UINT32  cBuffer,
P6UINT32 pcBytesSent,
P6INTERVAL  timeout,
P6NETADDR *  pRemoteAddr 
)
pure virtual

Sends a datagram to the specified endpoint on an un-connected socket.

Parameters
pBufferA pointer to a buffer containing the datagram to send
cBuffer[ in ] The size in bytes of the datagram to send
pcBytesSentThe address of a P6UINT32 in which will be placed the number of bytes sent.
timeout[ in ] The time in milliseconds to wait for the data to be sent.
pRemoteAddrA pointer to a P6NETADDR specifying the address of the remote endpoint to send the datagram to
Returns