Hello, If you set "LWIP_SO_RCVTIMEO" option to 1, "->recv_timeout" will be enable.
Regards Yacob Hassidim <yac...@dds-security.com>, 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=dds-security....@nongnu.org> > *On Behalf Of *Mesut Cömert > *Sent:* Thursday, December 26, 2019 8:49 AM > *To:* Mailing list for lwIP users <lwip-users@nongnu.org> > *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 <yac...@dds-security.com>, 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 > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users > > > > > -- > > *Mesut Cömert* > > Elektrik Elektronik Mühendisi | Electrical Electronics Engineer > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users -- *Mesut Cömert* Elektrik Elektronik Mühendisi | Electrical Electronics Engineer
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users