GObject.Object
Gio.InetAddress
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GInetAddress |
Class : | InetAddress |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
bytes : void*
|
Gio.InetAddress | |
family : Gio.SocketFamily
|
Gio.InetAddress | |
is_any : gboolean
read only
Whether this is the "any" address for its family.
Whether this is the "any" address for its family.
See g_inet_address_get_is_any(). |
Gio.InetAddress | |
is_link_local : gboolean
read only
Whether this is a link-local address.
Whether this is a link-local address.
See g_inet_address_get_is_link_local(). |
Gio.InetAddress | |
is_loopback : gboolean
read only
Whether this is the loopback address for its family.
Whether this is the loopback address for its family.
See g_inet_address_get_is_loopback(). |
Gio.InetAddress | |
is_mc_global : gboolean
read only
Whether this is a global multicast address.
Whether this is a global multicast address.
See g_inet_address_get_is_mc_global(). |
Gio.InetAddress | |
is_mc_link_local : gboolean
read only
Whether this is a link-local multicast address.
Whether this is a link-local multicast address.
See g_inet_address_get_is_mc_link_local(). |
Gio.InetAddress | |
is_mc_node_local : gboolean
read only
Whether this is a node-local multicast address.
Whether this is a node-local multicast address.
See g_inet_address_get_is_mc_node_local(). |
Gio.InetAddress | |
is_mc_org_local : gboolean
read only
Whether this is an organization-local multicast address.
Whether this is an organization-local multicast address.
See g_inet_address_get_is_mc_org_local(). |
Gio.InetAddress | |
is_mc_site_local : gboolean
read only
Whether this is a site-local multicast address.
Whether this is a site-local multicast address.
See g_inet_address_get_is_mc_site_local(). |
Gio.InetAddress | |
is_multicast : gboolean
read only
Whether this is a multicast address.
Whether this is a multicast address.
See g_inet_address_get_is_multicast(). |
Gio.InetAddress | |
is_site_local : gboolean
read only
Whether this is a site-local address.
Whether this is a site-local address.
See g_inet_address_get_is_loopback(). |
Gio.InetAddress | |
parent_instance : GObject.Object
read only
|
Gio.InetAddress | |
priv : Gio.InetAddressPrivate
read only
|
Gio.InetAddress |
Method / Constructor | Defined By | |
---|---|---|
new Gio.InetAddress
(Object properties)
Create a new Gio.InetAddress
Create a new Gio.InetAddress
|
||
Create a new Gio.InetAddress
Create a new Gio.InetAddress
|
||
Create a new Gio.InetAddress
Create a new Gio.InetAddress
|
||
Create a new Gio.InetAddress
Create a new Gio.InetAddress
|
||
Create a new Gio.InetAddress
Create a new Gio.InetAddress
|
||
get_family
()
:
Gio.SocketFamily
Gets address's family
Gets address's family
|
Gio.InetAddress | |
get_is_any
()
:
gboolean
Tests whether address is the "any" address for its family.
Tests whether address is the "any" address for its family.
|
Gio.InetAddress | |
get_is_link_local
()
:
gboolean
Tests whether address is a link-local address (that is, if it
identifies a host on a local network that is not connected to the Internet).
Tests whether address is a link-local address (that is, if it
identifies a host on a local network that is not connected to the Internet).
|
Gio.InetAddress | |
get_is_loopback
()
:
gboolean
Tests whether address is the loopback address for its family.
Tests whether address is the loopback address for its family.
|
Gio.InetAddress | |
get_is_mc_global
()
:
gboolean
Tests whether address is a global multicast address.
Tests whether address is a global multicast address.
|
Gio.InetAddress | |
get_is_mc_link_local
()
:
gboolean
Tests whether address is a link-local multicast address.
Tests whether address is a link-local multicast address.
|
Gio.InetAddress | |
get_is_mc_node_local
()
:
gboolean
Tests whether address is a node-local multicast address.
Tests whether address is a node-local multicast address.
|
Gio.InetAddress | |
get_is_mc_org_local
()
:
gboolean
Tests whether address is an organization-local multicast address.
Tests whether address is an organization-local multicast address.
|
Gio.InetAddress | |
get_is_mc_site_local
()
:
gboolean
Tests whether address is a site-local multicast address.
Tests whether address is a site-local multicast address.
|
Gio.InetAddress | |
get_is_multicast
()
:
gboolean
Tests whether address is a multicast address.
Tests whether address is a multicast address.
|
Gio.InetAddress | |
get_is_site_local
()
:
gboolean
Tests whether address is a site-local address such as 10.0.0.1
(that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall).
Tests whether address is a site-local address such as 10.0.0.1
(that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall).
|
Gio.InetAddress | |
get_native_size
()
:
guint32
Gets the size of the native raw binary address for address.
Gets the size of the native raw binary address for address. This
is the size of the data that you get from g_inet_address_to_bytes().
|
Gio.InetAddress | |
to_string
()
:
String
Converts address to string form.
Converts address to string form.
freed after use.
|
Gio.InetAddress |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.InetSocketAddress
Property |
address : Gio.InetAddress
|
Gio.InetSocketAddress
Method |
Create a new Gio.InetSocketAddress
|
Gio.InetSocketAddress
Method |
get_address
()
:
Gio.InetAddress
Gets address's GInetAddress.
|
Gio.ProxyAddress
Method |
new Gio.ProxyAddress.c_new
(InetAddress inetaddr, guint16 port, String protocol, String dest_hostname, guint16 dest_port, String username, String password)
:
Gio.SocketAddress
Create a new Gio.ProxyAddress
|
Gio.Resolver
Method |
Synchronously reverse-resolves address to determine its
associated hostname. |
Gio.Resolver
Method |
lookup_by_address_async
(InetAddress address, Cancellable cancellable, Function callback, void* user_data)
:
none
Begins asynchronously reverse-resolving address to determine its
associated hostname, and eventually calls callback, which must call g_resolver_lookup_by_address_finish() to get the final result. |