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

zTcpClient_Connect
zTcpClient functions
C

    zStatus zTcpClient_Connect(zTcpClient client, zIPAddress address, z32u port, z64u timeout);

Parameters

Parameters | Description
zTcpClient client | zTcpClient object.
zIPAddress address | The remote IP address.
z32u port | The remote port number.
z64u timeout | The timeout interval, in microseconds.

Description

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.

Remarks

A connection can be established only once per zTcpClient object. After an initial connection is created and closed, the zTcpClient object cannot be used to create another connection.

File

zTcpClient.h

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