InetSocketAddress.getScopeId

uint getScopeId()

Gets the sin6_scope_id field from address, which must be an IPv6 address.

Returns

the scope id field