Mount Fuji Engine  0.8b
int MFSockets_SendTo ( MFSocket  socket,
const char *  pBuffer,
int  bufferLength,
uint32  flags,
const MFSocketAddress pAddress 
)

Sends data to a specific destination.

Parameters
socketDescriptor identifying a (possibly connected) socket.
pBufferBuffer containing the data to be transmitted.
bufferLengthLength of the data in pBuffer, in bytes.
flagsIndicator specifying the way in which the call is made.
pAddressOptional pointer to a MFSocketAddress structure that contains the address of the target socket.
Returns
The total number of bytes sent, which can be less than the number indicated by bufferLength.