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

zTcpClient functions
Functions zTcpClient

zTcpClient member functions.

Functions

Function | Description
zTcpClient_Available | Returns the number of bytes currently enqueued and available for reading.
zTcpClient_Connect | 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.
zTcpClient_Construct | Constructs a zTcpClient object.
zTcpClient_Destroy | Destroys a zTcpClient object.
zTcpClient_Flush | Forces any bytes buffered by this zTcpClient object to be written to the underlying zSocket.
zTcpClient_LocalEndPoint | Returns the local end point for a connected client.
zTcpClient_Read | Blocks until all requested bytes are read (or until a read timeout occurs), and returns the bytes that were read.
zTcpClient_RemoteEndPoint | Returns the remote end point for a connected client.
zTcpClient_SetReadBuffers | Sets the size of read buffers.
zTcpClient_SetReadTimeout | Sets the timeout duration for read operations.
zTcpClient_SetWriteBuffers | Sets the size of write buffers.
zTcpClient_SetWriteTimeout | Sets the timeout duration for write operations.
zTcpClient_Socket | Returns the underlying zSocket object.
zTcpClient_Wait | Waits until the client has bytes to read or until the specified timeout period elapses.
zTcpClient_WaitAny | Waits until one or more of the specified TCP clients has bytes to read or until the specified timeout period elapses.
zTcpClient_Write | 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.
Contents | Reference