...
net_tcp.h/net_tcp.c
Prototype
Code Block |
---|
CPU_BOOLEAN NetTCP_ConnCfgMSL_Timeout(NET_TCP_CONN_ID conn_id_tcp,
NET_TCP_TIMEOUT_SEC timeout_sec,
NET_ERR *perr);
|
...
Available only if TCP is enabled (see TCP Layer Configuration).
Notes / Warnings
The conn_id_tcp
argument represents the TCP connection handle – not the socket handle. The following code may be used to get the TCP connection handle and configure TCP connection parameters (see also NetSock_GetConnTransportID):
...