Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Properties Author(s) References
A GSocketConnectable for resolving hostnames
gNetworkAddressNew(hostname, port)
gNetworkAddressGetHostname(object)
gNetworkAddressGetPort(object)
gNetworkAddressParse(host.and.port, default.port, .errwarn = TRUE)
gNetworkAddress(hostname, port)
1 2 | GObject
+----GNetworkAddress
|
GNetworkAddress implements
GSocketConnectable
.
GNetworkAddress
provides an easy way to resolve a hostname and
then attempt to connect to that host, handling the possibility of
multiple IP addresses and multiple address families.
See GSocketConnectable
for and example of using the connectable
interface.
GNetworkAddress
A GSocketConnectable
for resolving a hostname and connecting to
that host.
gNetworkAddress
is the equivalent of gNetworkAddressNew
.
hostname
[character : * : Read / Write / Construct Only]Hostname to resolve. Default value: NULL
port
[numeric : Read / Write / Construct Only]Network port. Allowed values: <= 65535 Default value: 0
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gio/stable/GNetworkAddress.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.