Zen API
zSocket_ReadFrom
C
zStatus zSocket_ReadFrom(zSocket socket, zIPEndPoint * endPoint, void* buffer, zUIntPtr size, zUIntPtr* read);
Parameters
Parameters 
Description 
zSocket socket 
zSocket object. 
zIPEndPoint * endPoint 
The address of the sender. 
void* buffer 
Buffer to receive the datagram. 
zUIntPtr size 
The maximum number of bytes to return. 
zUIntPtr* read 
The number of bytes that were read. 
Description

Blocks until a datagram is received (or until a read timeout occurs), and returns the datagram.

File

zSocket.h

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