You can achieve the same thing with LwIP by using a UDP socket bound to a port on the loopback adapter. Sending to the loopback address and port (from another thread) will be received on your UDP socket and will return the select call
Joel On Sep 24, 2016, at 03:56 PM, doragasu <[email protected]> wrote: I think this is a typical problem. I have lwip_select() blocked waiting events on several sockets. But now I want to add another socket to the FD set. When using select() on Linux/BSD, the usual way to solve this problem is to add another descriptor (e.g. a pipe) to the FD set, so you can do dummy writes to this descriptor to "cancel" the select() call. Is it possible to do anything similar when using lwip_select()? -- View this message in context: http://lwip.100.n7.nabble.com/Is-there-a-way-to-cancel-a-call-to-lwip-select-tp27390.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
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
