Thanks for the reply! I was already suspecting using another socket was the
only way to do this on lwip, but wanted to ask first to confirm.
--
View this message in context:
http://lwip.100.n7.nabble.com/Is-there-a-way-to-cancel-a-call-to-lwip-select-tp27390p27437.html
Sent from the lwip-users
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 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