Re: [lwip-users] How do I restrict to one server connection using rawapi?

2017-06-26 Thread Sergio R. Caprile
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

[lwip-users] How do I restrict to one server connection using rawapi?

2017-06-19 Thread Korwin Anderson - Wavestream
Using rawapi, how do I restrict connections to one, using the last requested connection as the active one, and closing previous connections? I've tried closing old connections in the accept callback, and closing old connections in the poll callback. Both approaches work OK if there isn't any