zStatus zUdpClient_SetReadBuffer(zUdpClient client, zUIntPtr size);
|
Parameters |
Description |
|
zUdpClient client |
zUdpClient object. |
|
zUIntPtr size |
Size of the socket read buffer. |
Sets the size of the read buffer used by the underlying socket.
This method sets the size of the socket read buffer associated with the client. Socket buffers decouple the sender and receiver, so that the sender does not need to block while waiting for the receiver to receive all bytes. zUdpClient also maintains an internal read buffer that is large enough to accomodate one UDP datagram, but the size of this buffer cannot be explicitly set.
zUdpClient.h