But I still need a way to reconnect-the server may close the connection
itself. How can I implement this?
29.06.2016 8:49, Danil Kaykov пишет:
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
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users