@mashingan I'll just "rephrase" to be sure I get it. On Linux (and maybe other 
OSs), there are several OS APIs to do non-blocking IO. On Windows, there is 
only one. asyncdispatch/asyncnet (as well as libuv) are wrappers on top of 
(some of) those. asyncdispatch/asyncnet essentially give you the same high 
functionality on all platforms. And the "as long as you only care about 
non-Windows platforms" comment only relates to "you should be able to work with 
any of these layers[epoll/kqueue] interchangeably". Beyond "Warning: The Peek 
socket flag is not supported on Windows." in asyncdispatch, I haven't seen an 
actual limitation of the API behaviour on Windows.

So, assuming I got the above correctly, since I _don't care_ about which API 
implements the low-level non-blocking IO magic under the hood, I can just use 
asyncdispatch/asyncnet everywhere, and call it a day?

Reply via email to