zStatus zUdpClient_SetWriteBuffer(zUdpClient client, zUIntPtr size);
|
Parameters |
Description |
|
zUdpClient client |
zUdpClient object. |
|
zUIntPtr size |
Size of the socket write buffer. |
Sets the size of the write buffer used by the underlying socket.
This method sets the size of the socket write 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 write buffer that is large enough to accomodate one UDP datagram, but the size of this buffer cannot be explicitly set.
zUdpClient.h