Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.InetAddress

Class Gio.InetAddress

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GInetAddress
Class : InetAddress
Extends: GObject.Object
GInetAddress represents an IPv4 or IPv6 internet address. Use
g_resolver_lookup_by_name() or g_resolver_lookup_by_name_async() to
look up the GInetAddress for a hostname. Use
g_resolver_lookup_by_address() or
g_resolver_lookup_by_address_async() to look up the hostname for a
GInetAddress.
To actually connect to a remote host, you will need a
GInetSocketAddress (which includes a GInetAddress as well as a
port number).
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.InetSocketAddress
Property
address : Gio.InetAddress
Gio.InetSocketAddress
Method
new Gio.InetSocketAddress.c_new (InetAddress address, guint16 port) : Gio.SocketAddress
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
lookup_by_address (InetAddress address, Cancellable cancellable) : String
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:13 GMT+0800 (HKT)