Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A SocketException exception is thrown by the Socket and Dns classes when an error occurs with the network.
Associated Tips
- 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.
See Also
Tasks
How to: Find Out More About an Exception with the Exception Assistant