[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] PPPos does not detect modem disconnection
From: |
address@hidden |
Subject: |
Re: [lwip-users] PPPos does not detect modem disconnection |
Date: |
Thu, 7 Nov 2019 20:35:13 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Am 07.11.2019 um 17:49 schrieb vinimac:
Hi all,
I am simulating a signal loss by removing the antenna from the modem and it
keep sending packets to a server using TCP socket. After remove the antenna,
the function send wont fail() and error number is not set too.
I was expecting TCP layer to detect the lack of TCP ACK or PPP should have
some timeout?
PPP might detect connection loss, but TCP won't. That's expected, unless
you use LWIP_TCP_KEEPALIVE (just gxxxle for tcp keepalive...).
Regards,
Simon
I am running Lwip 2.0 from ESP32 SDK.
/*************************/
HISTORY
(git master)
++ New features:
2016-02-22: Ivan Delamer:
* Initial 6LoWPAN support
/***************************/
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users