Has anyone used non-blocking sockets successfully?
I noticed that Net/src/SocketImpl.c uses ioctl(FIONBIO) instead of fcntl(F_SETFL, flags | O_NONBLOCK) for instance.
Also that ::recv() is called in the same module inside a loop, regardless of whether _blocking is set or not.
I've submitted fixes for both of these issues, but I'm also noticing some artifacts related to how the poll method works on Linux (using edge-triggered events with epoll() vs. select() on other platforms and level-triggering).
Which makes me wonder if anyone else has used Poco with non-blocking sockets.
-Philip





