Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTcpClient_Connect ( kTcpClient  client,
kIpAddress  address,
k32u  port,
k64u  timeout 
)

Connects to a remote end point.

A connection can be established only once per kTcpClient object.

Parameters
clientTCP client object.
addressThe remote IP address.
portThe remote port number.
timeoutTimeout interval, in microseconds.
Returns
Operation status.