lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] lwip netconn with ethernet disconnect


From: jim
Subject: [lwip-users] lwip netconn with ethernet disconnect
Date: Wed, 7 Nov 2018 18:46:09 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3

Hi,

I have the lwip system working and it is awesome!

I am wondering how to recover from cable disconnect in my application. On cable disconnect, the driver calls tcpip_callback_with_block which ends up successfully entering netif_set_link_down.

My application is currently waiting on the receive mailbox through netconn_recv.

What is the expected behavior when the cable is removed? I would have expected the blocking  netconn_recv to return with an error.

Thanks in advance for any help.
Jim





reply via email to

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