Gio.InetAddress
Gio.InetAddress represents an IPv4 or IPv6 internet address. Use Gio.Resolver.prototype.lookup_by_name or Gio.Resolver.prototype.lookup_by_name_async to look up the Gio.InetAddress for a hostname. Use Gio.Resolver.prototype.lookup_by_address or Gio.Resolver.prototype.lookup_by_address_async to look up the hostname for a Gio.InetAddress.
To actually connect to a remote host, you will need a Gio.InetSocketAddress (which includes a Gio.InetAddress as well as a port number).
Hierarchy
-
GObject.Object
- Gio.InetAddress
Methods
- Gio.InetAddress.prototype.equal
- Gio.InetAddress.prototype.get_family
- Gio.InetAddress.prototype.get_is_any
- Gio.InetAddress.prototype.get_is_link_local
- Gio.InetAddress.prototype.get_is_loopback
- Gio.InetAddress.prototype.get_is_mc_global
- Gio.InetAddress.prototype.get_is_mc_link_local
- Gio.InetAddress.prototype.get_is_mc_node_local
- Gio.InetAddress.prototype.get_is_mc_org_local
- Gio.InetAddress.prototype.get_is_mc_site_local
- Gio.InetAddress.prototype.get_is_multicast
- Gio.InetAddress.prototype.get_is_site_local
- Gio.InetAddress.prototype.get_native_size
- Gio.InetAddress.prototype.to_string