TCP Receive Timeout

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

TCP Receive Timeout

yacobh@dds-security.com

Hello all,

 

I use LwIP version 2.0.3.

 

I want to define timeout for TCP receive.

 

LwIP allows to define the following options:

- LWIP_TCPIP_TIMEOUT

- LWIP_SO_RCVTIMEO

 

Which of them shall be enabled for receive timeout?

 

The timeout value shall be set by the function netconn_set_recvtimeout().

Can I use netconn_set_recvtimeout() at any time or it must be at system startup?

 

Thanks.

 

Yacob Hassidim.

 

 

 


_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users