10 references to HostUnreachable
System.Net.Ping (4)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
51{ Interop.Error.EHOSTUNREACH, SocketError.HostUnreachable }, 101{ SocketError.HostUnreachable, Interop.Error.EHOSTUNREACH },
System\Net\NetworkInformation\Ping.RawSocket.cs (2)
288catch (SocketException ex) when (ex.SocketErrorCode == SocketError.HostUnreachable) 376catch (SocketException ex) when (ex.SocketErrorCode == SocketError.HostUnreachable)
System.Net.Primitives (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
51{ Interop.Error.EHOSTUNREACH, SocketError.HostUnreachable }, 101{ SocketError.HostUnreachable, Interop.Error.EHOSTUNREACH },
System.Net.Quic (1)
System\Net\Quic\Internal\ThrowHelper.cs (1)
85if (status == QUIC_STATUS_UNREACHABLE) return new SocketException((int)SocketError.HostUnreachable);
System.Net.Sockets (3)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
51{ Interop.Error.EHOSTUNREACH, SocketError.HostUnreachable }, 101{ SocketError.HostUnreachable, Interop.Error.EHOSTUNREACH },
System\Net\Sockets\SocketsTelemetry.cs (1)
251SocketError.HostUnreachable => "host_unreachable",