NetTCP_ConnStateGet()

Get the current state of the TCP connection.

Files

net_tcp.h/net_tcp.c

Prototype


          NET_TCP_CONN_STATE  NetTCP_ConnStateGet (NET_TCP_CONN_ID  conn_id)

Arguments

conn_id    The connection ID number.

Returned Value

The TCP connection state.

Required Configuration

Available only if TCP is enabled (see TCP Layer Configuration).

Notes / Warnings

'conn_id' may be obtained from within the application by calling NetSock_GetConnTransportID().