On Fri, 2009-06-05 at 10:48 -0400, Mark Phillips wrote: > The application works great for multiple servers (listeners), and also > for a single client (with no servers). But, whenever I try to mix the > two, either the whole process stops (if I prevent multiple requests to > be pending simultaneously) or I get nasty memory-corruption/segfaults > (if I DO allow multiple requests).
If you were using the BSD sockets layer, the solution would be to use the select() function to wait for completion of connect operations without blocking, while also servicing existing connections. There is no select operation at the netconn layer, but as the sockets layer implements select using the netconn layer functionality, you should be able to look at what it does and do something similar. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
