You could check how the httpd app does.What I usually do is have a state variable shared among all the callbacks, so the application can know what is the state of the connection.
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users