SocketAddress
GSocketAddress
is the equivalent of man:sockaddr(3type) and its subtypes in the BSD sockets API. This is an abstract class; use class@Gio.InetSocketAddress for internet sockets, or class@Gio.UnixSocketAddress for UNIX domain sockets.
Inheritors
Constructors
Properties
The family of the socket address.
Functions
Creates a #GSocketAddressEnumerator for @connectable.
Gets the size of @address's native struct sockaddr. You can use this to allocate memory to pass to g_socket_address_to_native().
Creates a #GSocketAddressEnumerator for @connectable that will return a #GProxyAddress for each of its addresses that you must connect to via a proxy.
Format a #GSocketConnectable as a string. This is a human-readable format for use in debugging output, and is not a stable serialization format. It is not suitable for use in user interfaces as it exposes too much information for a user.