canReach

open fun canReach(connectable: SocketConnectable, cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Attempts to determine whether or not the host pointed to by

Return

true if @connectable is reachable, false if not.

Since

2.32

Parameters

connectable

a #GSocketConnectable

cancellable

a #GCancellable, or null