i'm using select to manage 3 listener and optionally up to 3 active connections in the same task
Piero 2009/3/18, [email protected] <[email protected]>: > Chen wrote: >> once entering lwip_accept, it blocks until a connection is made. How >> can i allow more than 1 tcp connection on differnt portS? > > That is a general question about sockets programming, not limited to > lwIP. Thus this list may not be the best place to ask. In general, you > can pass a list of sockets in the listen state to select to get notified > when one of them has a connection pending. > > Simon > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
