Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use IOCP on Windows #106
This allows polling more than 64 connections at once. It also simplifies the workflow a bit.
The polling part is not very clean, because it turns out that the connection -> pollable conversion is not a very good model. In particular, on Windows, it is hard to find the connection that responses, after a poll. The libuv model (i.e. their "inheritance" between struct types) is a better fit.
@@ Coverage Diff @@ ## master #106 +/- ## ========================================== + Coverage 74.09% 74.38% +0.28% ========================================== Files 28 29 +1 Lines 2471 2495 +24 ========================================== + Hits 1831 1856 +25 + Misses 640 639 -1