Versions Compared

Key

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

Controlling Socket Blocking Options

Socket blocking options may be configured during compile time by adjusting the net_cfg.h macro NET_SOCK_CFG_BLOCK_SEL to the following values:

...

See the section C-13-46 and section C-13-48 for more information about sockets and blocking options.

Specific Socket Option API

...

Controlling Socket Blocking Options

By default all sockets are configured to block. It is possible to change that behavior by using the socket option API NetSock_CfgBlock() or when by setting a flag before calling Socket API. It is also possible to change the default configuration, see in net_cfg.h for further details.

MSL

Maximum Segment Lifetime (MSL) is the time a TCP segment can exist in the network, and is defined as two minutes. 2MSL is twice this lifetime. It is the maximum lifetime of a TCP segment on the network because it supposes segment transmission and acknowledgment.

...