Expand Minimize
4 out of 77 rated this helpful - Rate this topic

Troubleshooting Exceptions: System.Net.Sockets.SocketException

A SocketException exception is thrown by the Socket and Dns classes when an error occurs with the network.

Check the Errorcode property to determine why the socket error occurred.

The default constructor for the SocketException class sets the ErrorCode property to the last operating-system socket error that occurred. For more information, see the Windows Sockets Sample List.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.