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 _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users