Versions Compared

Key

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

Close an application socket, with error handling. See section C-13-31 for section NetSock_Close() for more information.

Files

net_app.h/net_app.c

...

Socket close timeout value per attempt/retry.

perrp_err

Pointer to variable that will receive the error code from this function:

...

otherwise.

Required Configuration

Available only if NET_APP_CFG_API_EN is enabled (see section D-18-1) and either NET_CFG_TRANSPORT_LAYER_SEL is configured for TCP (see section D-12-1) and/or NET_UDP_CFG_APP_API_SEL is configured for sockets (see section D-13-1)None.

Notes / Warnings

Some socket arguments and/or operations are validated only if validation code is enabled (see section D-3-1section Argument Check Configuration).