linger/send_timeout help

markposg
Posts: 3
Joined: Thu Nov 01, 2018 12:32 pm

linger/send_timeout help

Postby markposg » Wed Nov 07, 2018 11:56 pm

Can anyone show details of how to use the linger/ send_timeout parameter to reduce the time for TCP resource release according to the ESP 32 FAQ https://www.espressif.com/sites/default ... Qs__EN.pdf question 6.5.1? Is it by using something like:

Code: Select all

setsockopt(client_sock, SOL_SOCKET, SO_LINGER, (char*)&val, sizeof(int))
Thanks!

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 120 guests