3 references to SocketException
System.Net.Primitives (3)
System\Net\IPAddress.cs (2)
772private void ThrowSocketOperationNotSupported() => throw new SocketException(SocketError.OperationNotSupported, SR.Format(SR.net_SocketException_OperationNotSupported, AddressFamily)); 775private static void ThrowSocketOperationNotSupportedReadOnly() => throw new SocketException(SocketError.OperationNotSupported, SR.net_SocketException_OperationNotSupported_ReadOnlyIPAddress);
System\Net\SocketException.cs (1)
34public SocketException(int errorCode, string? message) : this((SocketError)errorCode, message)