InetAddressHolder

Properties

Link copied to clipboard

Holds a 32-bit IPv4 address.

Link copied to clipboard
var family: Int

Specifies the address family type, for instance, '1' for IPv4 addresses, and '2' for IPv6 addresses.

Link copied to clipboard
Link copied to clipboard

Reserve the original application specified hostname.

Functions

Link copied to clipboard
fun init(hostName: String?, family: Int)