Hey, I was testing the stability of my system, so I disconnected the Ethernet cable from my lwIP device and reconnected it. I found out that the connection wasn't re-initializing itself. I foudn out that my task is blocked in netconn_recv() indefinatly.
I absolutly need to be able to detect a network fault and go back into connection accepting state. I searched around and found threads about this exact question, but the replies were all: swith to raw API. This is not good for me, since I'm using a multi-task system with RTOS, sequential API. My LWIP_SO_RCVTIMEO is 0 currently, and according to the code, it looks like I could put this to 1 and not block. But I just want to use it on the netconn_recv() call, no others... Any advice here? Is it the way to go? Thanks!
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
