WSAPoll reimplementation
https://stackoverflow.com/questions/21653003/is-this-wsapoll-bug-for-non-blocking-sockets-fixed https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/
WSAPoll has been available since windows vista, but has only started working properly since win10 v2004. Requesting reimplementation for those win10 apps that assume it doesn't kick the bucket in nonblocking mode.
Here's a nice one. https://github.com/videolan/vlc/blob/master/compat/poll.c
This sadly breaks qTox.
@pachuco: Why have you closed?
@pachuco: Why have you closed?
Above snippet breaks at least one certain other program(qTox). My bad for closing.