zStatus zSocket_ReadFrom(zSocket socket, zIPEndPoint * endPoint, void* buffer, zUIntPtr size, zUIntPtr* read);
|
Parameters |
Description |
|
zSocket socket |
zSocket object. |
|
zIPEndPoint * endPoint |
The address of the sender. |
|
void* buffer |
Buffer to receive the datagram. |
|
zUIntPtr size |
The maximum number of bytes to return. |
|
zUIntPtr* read |
The number of bytes that were read. |
Blocks until a datagram is received (or until a read timeout occurs), and returns the datagram.
zSocket.h