GObject.Object
Gio.SocketAddress
Gio.InetSocketAddress
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GInetSocketAddress |
Class : | InetSocketAddress |
Implements: | Gio.SocketConnectable |
Extends: | Gio.SocketAddress |
Properties | Defined By | |
---|---|---|
address : Gio.InetAddress
|
Gio.InetSocketAddress | |
family : Gio.SocketFamily
read only
|
Gio.SocketAddress | |
parent_instance : Gio.SocketAddress
read only
|
Gio.InetSocketAddress | |
port : guint32
|
Gio.InetSocketAddress | |
priv : Gio.InetSocketAddressPrivate
read only
|
Gio.InetSocketAddress |
Method / Constructor | Defined By | |
---|---|---|
new Gio.InetSocketAddress
(Object properties)
Create a new Gio.InetSocketAddress
Create a new Gio.InetSocketAddress
|
||
Create a new Gio.InetSocketAddress
Create a new Gio.InetSocketAddress
|
||
enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable.
Creates a GSocketAddressEnumerator for connectable.
|
Gio.SocketConnectable | |
get_address
()
:
Gio.InetAddress
Gets address's GInetAddress.
Gets address's GInetAddress.
g_object_ref()'d if it will be stored
|
Gio.InetSocketAddress | |
get_family
()
:
Gio.SocketFamily
Gets the socket family type of address.
Gets the socket family type of address.
|
Gio.SocketAddress | |
get_native_size
()
:
gint32
Gets the size of address's native
Gets the size of address's native
You can use this to allocate memory to pass to g_socket_address_to_native().
|
Gio.SocketAddress | |
get_port
()
:
guint16
Gets address's port.
Gets address's port.
|
Gio.InetSocketAddress | |
proxy_enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable that will
return GProxyAddresses for addresses that you must connect to via a proxy.
Creates a GSocketAddressEnumerator for connectable that will
return GProxyAddresses for addresses that you must connect to via a proxy. If connectable does not implement g_socket_connectable_proxy_enumerate(), this will fall back to calling g_socket_connectable_enumerate().
|
Gio.SocketConnectable | |
Converts a GSocketAddress to a native
sockaddr connect() or bind().
Converts a GSocketAddress to a native
sockaddr connect() or bind(). If not enough space is availible, a G_IO_ERROR_NO_SPACE error is returned. If the address type is not known on the system then a G_IO_ERROR_NOT_SUPPORTED error is returned.
|
Gio.SocketAddress |
None |