zStatus zSocket_WriteTo(zSocket socket, zIPAddress address, z32u port, const void* buffer, zUIntPtr size);
|
Parameters |
Description |
|
zSocket socket |
zSocket object. |
|
zIPAddress address |
IP address of the recpient. |
|
z32u port |
Port number of the recipient. |
|
const void* buffer |
Buffer containing the datagram to send. |
|
zUIntPtr size |
The number of bytes in the supplied buffer. |
Blocks until the specified datagram is written (or until a write timeout occurs).
zSocket.h