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