Learn R Programming

RGtk2 (version 2.20.1)

GNetworkAddress: GNetworkAddress

Description

A GSocketConnectable for resolving hostnames

Arguments

Methods and Functions

gNetworkAddressNew(hostname, port) gNetworkAddressGetHostname(object) gNetworkAddressGetPort(object) gNetworkAddressParse(host.and.port, default.port, .errwarn = TRUE) gNetworkAddress(hostname, port)

Hierarchy

GObject +----GNetworkAddress

Interfaces

GNetworkAddress implements GSocketConnectable.

Detailed Description

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.

Convenient Construction

gNetworkAddress is the equivalent of gNetworkAddressNew.

References

http://library.gnome.org/devel//gio/GNetworkAddress.html