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.

Connection can be attempted only once per client object.

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