[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP Receive Timeout
From: |
Yacob Hassidim |
Subject: |
Re: [lwip-users] TCP Receive Timeout |
Date: |
Mon, 13 Jan 2020 08:56:06 +0200 |
Hello,
Thanks Simon,
Do you mean I must to enable LWIP_TCPIP_TIMEOUT and LWIP_SO_RCVTIMEO to enable
TCP receive timeout?
Can you please answer to the next question also?
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?
Yacob Hassidim,
Real Time Embedded Software Engineer
-----Original Message-----
From: lwip-users <lwip-users-bounces+yacobh=address@hidden> On Behalf Of
address@hidden
Sent: Saturday, January 11, 2020 12:28 AM
To: Mailing list for lwIP users <address@hidden>
Subject: Re: [lwip-users] TCP Receive Timeout
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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users