zStatus zUdpClient_Receive(zUdpClient client, zIPEndPoint* endPoint, zUIntPtr* received);
|
Parameters |
Description |
|
zUdpClient client |
zUdpClient object. |
|
zIPEndPoint* endPoint |
The end point of the sender. |
|
zUIntPtr* received |
The size of the recieved datagram. |
Blocks until a datagram is received into zUdpClient's read buffer (or until a read timeout occurs).
The Receive method is used to receive a datagram into zUdpClient's internal read buffer. Once the datagram has been recieved, the zUdpClient_Read method can be used to read out the datagram. zUdpClient_Read is typically called indirectly via a zSerializer object.
zUdpClient.h