Zen API
zTcpClient functions

zTcpClient member functions.

Function 
Description 
Returns the number of bytes currently enqueued and available for reading. 
Attempts to connect the client to a remote end point until either a connection is established, the remote end point refuses the connection, or the specified timeout interval elapses. 
Constructs a zTcpClient object. 
Destroys a zTcpClient object. 
Forces any bytes buffered by this zTcpClient object to be written to the underlying zSocket
Returns the local end point for a connected client. 
Blocks until all requested bytes are read (or until a read timeout occurs), and returns the bytes that were read. 
Returns the remote end point for a connected client. 
Sets the size of read buffers. 
Sets the timeout duration for read operations. 
Sets the size of write buffers. 
Sets the timeout duration for write operations. 
Returns the underlying zSocket object. 
Waits until the client has bytes to read or until the specified timeout period elapses. 
Waits until one or more of the specified TCP clients has bytes to read or until the specified timeout period elapses. 
Blocks until all of the specified bytes are written (or until a write timeout occurs). 
Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.