Hello, Thank you for your fast response. I understand LWIP_TCPIP_TIMEOUT is required to create timers (so it must be enabled) and LWIP_SO_RCVTIMEO is for Receive Timeout. Yacob Hassidim. From: lwip-users <lwip-users-bounces+yacobh=address@hidden> On Behalf Of Mesut Cömert Sent: Thursday, December 26, 2019 9:32 AM To: Mailing list for lwIP users <address@hidden> Subject: Re: [lwip-users] TCP Receive Timeout Hello, I've using as set LWIP_TCPIP_TIMEOUT to 1 too. Also, netconn_set_recvtimeout is a define line for sign to "conn->recv_timeout". Yacob Hassidim <address@hidden>, 26 Ara 2019 Per, 10:15 tarihinde şunu yazdı: Hello, Thank you. Do you mean LWIP_TCPIP_TIMEOUT is not required? Can I set “conName->recv_timeout” at any time? Yacob Hassidim. From: lwip-users <lwip-users-bounces+yacobh=address@hidden> On Behalf Of Mesut Cömert Sent: Thursday, December 26, 2019 9:09 AM To: Mailing list for lwIP users <address@hidden> Subject: Re: [lwip-users] TCP Receive Timeout If you set "LWIP_SO_RCVTIMEO" option to 1, "->recv_timeout" will be enable. Yacob Hassidim <address@hidden>, 26 Ara 2019 Per, 09:58 tarihinde şunu yazdı: Hello, Thanks for your answer. But what about the first question: LwIP allows to define the following options: - LWIP_TCPIP_TIMEOUT - LWIP_SO_RCVTIMEO Which of them shall be enabled for receive timeout? Yacob Hassidim. From: lwip-users <lwip-users-bounces+yacobh=address@hidden> On Behalf Of Mesut Cömert Sent: Thursday, December 26, 2019 8:49 AM To: Mailing list for lwIP users <address@hidden> Subject: Re: [lwip-users] TCP Receive Timeout Hello, I think you can use netconn_set_recvtimeout() function. But I've prefering "conName->recv_timeout" method. Yacob Hassidim <address@hidden>, 26 Ara 2019 Per, 09:42 tarihinde şunu yazdı: Hello all, This is the 3rd time I send this question. Can anyone help? 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 address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
-- Mesut Cömert Elektrik Elektronik Mühendisi | Electrical Electronics Engineer _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
-- Mesut Cömert Elektrik Elektronik Mühendisi | Electrical Electronics Engineer _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
-- Mesut Cömert Elektrik Elektronik Mühendisi | Electrical Electronics Engineer |