LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT is only used within LwIP.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesLwIPLWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT

LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT macro

By default, TCP socket/netconn close waits 20 seconds max to send the FIN

Syntax

#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 20000

References

LocationText
opt.h:2033
#define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 20000
api_lib.c:211
((LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT + TCP_SLOW_INTERVAL - 1) / TCP_SLOW_INTERVAL) + 1;
api_lib.c:1108
((LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT + TCP_SLOW_INTERVAL - 1) / TCP_SLOW_INTERVAL) + 1;