lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] How to check connection


From: Danil Kaykov
Subject: Re: [lwip-users] How to check connection
Date: Wed, 29 Jun 2016 08:49:57 +0600
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

Thank you!


28.06.2016 17:48, Sylvain Rochet пишет:
Hi Danil,


On Tue, Jun 28, 2016 at 05:41:54PM +0600, Danil Kaykov wrote:
Hi all.

I need correctway to check state of the connection, and if it is
aborted/disconnected/etc, reconnect.
You should use TCP keepalive, lwIP supports that.


Now I do it with the help of test sending some data.

In a separate thread ...
You are not allowed to do that, a socket/netconn PCB cannot be shared 
among threads.


Sylvain


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]