Zen API
zSocket_WriteTo
C
zStatus zSocket_WriteTo(zSocket socket, zIPAddress address, z32u port, const void* buffer, zUIntPtr size);
Parameters
Parameters 
Description 
zSocket socket 
zSocket object. 
zIPAddress address 
IP address of the recpient. 
z32u port 
Port number of the recipient. 
const void* buffer 
Buffer containing the datagram to send. 
zUIntPtr size 
The number of bytes in the supplied buffer. 
Description

Blocks until the specified datagram is written (or until a write timeout occurs).

File

zSocket.h

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