toString

open override fun toString(): String

Converts this IP address to a String. The string returned is of the form: hostname / literal IP address.

If the host name is unresolved, no reverse lookup is performed. The hostname part will be represented by an empty string.

Return

a string representation of this IP address.