gio.InetAddress represents an IPv4 or IPv6 internet address. Use Resolver.lookupByName or Resolver.lookupByNameAsync to look up the gio.InetAddress for a hostname. Use Resolver.lookupByAddress or Resolver.lookupByAddressAsync to look up the hostname for a gio.InetAddress
Undocumented in source.