of

Returns AnyHost with provided scope, or the NoScope instance if scope is null.

Parameters

scope

The network interface name or index number, or null.

Throws

if non-null scope is an empty string, or an integer less than 1.