Zen API
zUdpClient_Receive
C
zStatus zUdpClient_Receive(zUdpClient client, zIPEndPoint* endPoint, zUIntPtr* received);
Parameters
Parameters 
Description 
zUdpClient client 
zUdpClient object. 
zIPEndPoint* endPoint 
The end point of the sender. 
zUIntPtr* received 
The size of the recieved datagram. 
Description

Blocks until a datagram is received into zUdpClient's read buffer (or until a read timeout occurs).

The Receive method is used to receive a datagram into zUdpClient's internal read buffer. Once the datagram has been recieved, the zUdpClient_Read method can be used to read out the datagram. zUdpClient_Read is typically called indirectly via a zSerializer object.

File

zUdpClient.h

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