Fix WSAEWOULDBLOCK error on Windows
authorDaniel De Graaf <danieldg@inspircd.org>
Sat, 18 Jun 2011 21:37:49 +0000 (17:37 -0400)
committerDaniel De Graaf <danieldg@inspircd.org>
Sat, 18 Jun 2011 21:40:39 +0000 (17:40 -0400)
commitf235772cf1781ac9e9b50e1c4c91d59666063436
tree71619e4d2fb39dfd8557273823a941386f662ee4
parent699a8b2fc82949bfd5a39acc5b00670a5c350b4d
Fix WSAEWOULDBLOCK error on Windows

Making a connection and then immediately accepting it is not synchronous on
Windows; force the accept to block and wait for the connection we just made.
src/threadengines/threadengine_win32.cpp