Documentation for this section has not yet been entered.
The SocketException.ErrorCode property contains the error code that is associated with the error that caused the exception.
The default constructor for System.Net.Sockets.SocketException sets the SocketException.ErrorCode property to the last operating system error that occurred. For more information about socket error codes, see the Windows Sockets version 2 API error code documentation in MSDN.