14 references to HostNotFound
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
49|| ex.SocketErrorCode == SocketError.HostNotFound)
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
49|| ex.SocketErrorCode == SocketError.HostNotFound)
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
157socketException.SocketErrorCode is SocketError.HostNotFound or SocketError.TryAgain)
System.Net.NameResolution (2)
System\Net\NameResolutionPal.Unix.cs (1)
43return SocketError.HostNotFound;
System\Net\NameResolutionTelemetry.cs (1)
147SocketError.HostNotFound => "host_not_found",
System.Net.Ping (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
50{ Interop.Error.ENXIO, SocketError.HostNotFound }, // not perfect, but closest match available 100{ SocketError.HostNotFound, Interop.Error.EHOSTNOTFOUND },
System.Net.Primitives (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
50{ Interop.Error.ENXIO, SocketError.HostNotFound }, // not perfect, but closest match available 100{ SocketError.HostNotFound, Interop.Error.EHOSTNOTFOUND },
System.Net.Quic (1)
System\Net\Quic\QuicConnection.cs (1)
400throw new SocketException((int)SocketError.HostNotFound);
System.Net.Requests (2)
System\Net\FtpWebRequest.cs (1)
939if (se.SocketErrorCode == SocketError.HostNotFound)
System\Net\WebException.cs (1)
116case SocketError.HostNotFound:
System.Net.Sockets (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
50{ Interop.Error.ENXIO, SocketError.HostNotFound }, // not perfect, but closest match available 100{ SocketError.HostNotFound, Interop.Error.EHOSTNOTFOUND },