Java.Net.NoRouteToHostException Class
The NoRouteToHostException will be thrown while attempting to connect to a remote host but the host cannot be reached for instance because of a badly configured router or a blocking firewall.

See Also: NoRouteToHostException Members

Syntax

[Android.Runtime.Register("java/net/NoRouteToHostException", DoNotGenerateAcw=true)]
public class NoRouteToHostException : SocketException

Remarks

The NoRouteToHostException will be thrown while attempting to connect to a remote host but the host cannot be reached for instance because of a badly configured router or a blocking firewall.

Most applications should not catch this exception; it is more robust to catch the superclass SocketException.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1