Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kUdpClient_WriteTo ( kUdpClient  client,
const void *  buffer,
kSize  size,
kIpAddress  address,
k32u  port,
k64u  timeout 
)

Blocks until the provided datagram is written to the underlying socket (or until a timeout occurs).

This method can be used when write buffering is disabled to write a datagram directly to the underlying socket.

Parameters
clientUDP client object.
bufferBytes to be written.
sizeCount of bytes to be written.
addressIP address of the recipient.
portPort number of the recipient.
timeoutTimeout, in microseconds.
Returns
Operation status.