#, UNIX-. , accept() , , ( , , ) , , . , , : -)
, MSDN , Google ( "#" ), :
If you receive a SocketException, use SocketException.ErrorCode to obtain the specific error code. Once you have obtained this code, you can refer to the Windows Socket Version 2 API error code documentation in MSDN for a detailed description of the error.
, , , Google ( API Windows Socket Version 2 MSDN).
Google , MSDN . , , . , ( , : -).
, : , , , . . , , #, - (, , ).
, -1 ( - -1): . , -1 , . -2, , , , .
, myerrorlist, . , , , , .
- WSA (,
WSAGetLastError()), . , #. accept() , , , . Socket Handle, . , , .select() (.. accept(), )?
, , . , , ..NET 2, -, select(), .