Zen API
zUdpClient_SetWriteBuffer
C
zStatus zUdpClient_SetWriteBuffer(zUdpClient client, zUIntPtr size);
Parameters
Parameters 
Description 
zUdpClient client 
zUdpClient object. 
zUIntPtr size 
Size of the socket write buffer. 
Description

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.

File

zUdpClient.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.