Am 19.12.2019 um 06:44 schrieb Yacob Hassidim:
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

Have you found out by now that LWIP_TCPIP_TIMEOUT has nothing to do with
receive timeouts?

When using sockets, just try to use standard calls and come back here
for anything that doesn't work compared to Unix/Linux/windows.

Regards,
Simon


- 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
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to