I found some: In my code I use separate thread for incoming tcp data, so in that time when I am destroying netconn, in another thread netconn_recv works. And I must wait for it finished before another netconn been created: ... netconn_delete(conn);///!!!!!!!!!!!!!!!!! conn = 0; vTaskDelay(61000); conn = netconn_new(NETCONN_TCP);///!!!!!!!!!!!!!! conn->recv_timeout = 60000; comm_mode = COMM_WAITREADY; ...
So should I alwais loose this time (in my case 61 seconds) for waiting until netconn_recv finished with timeout? May be another method of emegency interrupt of netconn_recv exists? -- View this message in context: http://old.nabble.com/lwIP-1.3.2-netconn_new-netconn_delete-issue-tp32738694p32739128.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
