17 references to HostNotFound
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
157socketException.SocketErrorCode is SocketError.HostNotFound or SocketError.TryAgain)
System.Net.NameResolution (6)
System\Net\Dns.cs (4)
480exception = new SocketException((int)SocketError.HostNotFound); 561catch (SocketException ex) when (addressFamily == AddressFamily.InterNetworkV6 && ex.SocketErrorCode == SocketError.HostNotFound) 858catch (SocketException ex) when (family == AddressFamily.InterNetworkV6 && ex.SocketErrorCode == SocketError.HostNotFound) 871catch (SocketException ex) when (family == AddressFamily.InterNetworkV6 && ex.SocketErrorCode == SocketError.HostNotFound)
System\Net\NameResolutionPal.Unix.cs (1)
44return SocketError.HostNotFound;
System\Net\NameResolutionTelemetry.cs (1)
147SocketError.HostNotFound => "host_not_found",
System.Net.Ping (2)
src\runtime\src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
36Interop.Error.ENXIO => SocketError.HostNotFound, // not perfect, but closest match available 87SocketError.HostNotFound => Interop.Error.EHOSTNOTFOUND,
System.Net.Primitives (2)
src\runtime\src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
36Interop.Error.ENXIO => SocketError.HostNotFound, // not perfect, but closest match available 87SocketError.HostNotFound => Interop.Error.EHOSTNOTFOUND,
System.Net.Quic (1)
System\Net\Quic\QuicConnection.cs (1)
401throw new SocketException((int)SocketError.HostNotFound);
System.Net.Requests (2)
System\Net\FtpWebRequest.cs (1)
937if (se.SocketErrorCode == SocketError.HostNotFound)
System\Net\WebException.cs (1)
116case SocketError.HostNotFound:
System.Net.Sockets (2)
src\runtime\src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
36Interop.Error.ENXIO => SocketError.HostNotFound, // not perfect, but closest match available 87SocketError.HostNotFound => Interop.Error.EHOSTNOTFOUND,
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
131case SocketError.HostNotFound: