Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Required Configuration

Available only if NET_CFG_TRANSPORT_LAYER_SEL is configured for TCP (see section D-12-1if TCP is enabled (see TCP Layer Configuration).

Notes / Warnings

Configured timeout does not reschedule any current idle timeout in progress but becomes effective the next time a TCP connection sets its idle timeout.

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 section C-13-38 “NetSockalso NetSock_GetConnTransportID()):

NetTCP_ConnCfgIdleTimeout() is called by application function(s) and must not be called with the global network lock already acquired. It must block all other network protocol tasks by pending on and acquiring the global network lock (see “net.h Note #3”). This is required since an application's network protocol suite API function access is asynchronous to other network protocol tasks.