SocketException CLASS

Any socket-related exception. Socket exception is a specialization of IO exception, but not necessarily the only kind of exception that can be thrown from operations on Socket. If thrown, make sure to inspect the inner cause as well.

Parent Class

All Members


TypeNameSignature
constructorSocketExceptionpublic SocketException(string)

Constructors


public SocketException(string message)

Create an SocketException with specified message.

Parameters

  • message The message for this exception.