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