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

zUdpClient_Send
zUdpClient functions
C

    zStatus zUdpClient_Send(zUdpClient client, zIPAddress address, z32u port);

Parameters

Parameters | Description
zUdpClient client | zUdpClient object.
zIPAddress address | IP address of the recpient.
z32u port | Port number of the recipient.

Description

Blocks until the datagram in zUdpClient's internal write buffer is written to the underlying socket (or until a write timeout occurs).

Remarks

The Send method is used to send a datagram that has been written into zUdpClient's internal write buffer. Bytes are written into zUdpClient's internal buffer via the zUdpClient_Write method. zUdpClient_Write is typically called indirectly via a zSerializer object.

File

zUdpClient.h

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