getNetworkHandle

open fun getNetworkHandle(address: InetAddress): Long

Get a network handle for a network interface address.

The handle value can be used to bind a socket to specific network.

Return

the network handle.