toInetAddress

@JvmName(name = "inetAddressOf")
fun IPAddress.toInetAddress(): InetAddress(source)

Convert IPAddress to java.net.InetAddress.

Throws

if IPAddress.V6.scope is a non-null network interface name that does not exist on the host machine.