@@ -80,8 +80,12 @@ return _backLog; } - (int)errNo { +#ifdef _WIN32 + return of_wsaerr_to_errno(_errNo); +#else return _errNo; +#endif } @end