can_reach


Description:

[ Version ( since = "1.2.4" ) ]
public bool can_reach (InetSocketAddress address)

Check if the peer at address is reachable using this this.

Parameters:

this

A Client

address

A InetSocketAddress of the target. The port part of the address may be 0

Returns:

true if considered reachable, false otherwise.