|
Zen API
|
| 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.
| client | UDP client object. |
| buffer | Bytes to be written. |
| size | Count of bytes to be written. |
| address | IP address of the recipient. |
| port | Port number of the recipient. |
| timeout | Timeout, in microseconds. |