Zen API | Contents | Reference | Previous | Up | Next

zUdpClient_SetReadBuffer
zUdpClient functions
C

    zStatus zUdpClient_SetReadBuffer(zUdpClient client, zUIntPtr size);

Parameters

Parameters | Description
zUdpClient client | zUdpClient object.
zUIntPtr size | Size of the socket read buffer.

Description

Sets the size of the read buffer used by the underlying socket.

Remarks

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.

File

zUdpClient.h

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