Class

GioNativeSocketAddress

since: 2.46

Description [src]

class Gio.NativeSocketAddress : Gio.SocketAddress
  implements Gio.SocketConnectable {
  /* No available fields */
}

A socket address of some unknown native type.

This corresponds to a general struct sockaddr of a type not otherwise handled by GLib.

Available since: 2.46

Implements

Constructors

g_native_socket_address_new

Creates a new GNativeSocketAddress for native and len.

since: 2.46

Instance methods

Methods inherited from GSocketAddress (3)
g_socket_address_get_family

Gets the socket family type of address.

since: 2.22

g_socket_address_get_native_size

Gets the size of addresss native struct sockaddr. You can use this to allocate memory to pass to g_socket_address_to_native().

since: 2.22

g_socket_address_to_native

Converts a GSocketAddress to a native struct sockaddr, which can be passed to low-level functions like connect() or bind().

since: 2.22

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GSocketConnectable (3)
g_socket_connectable_enumerate

Creates a GSocketAddressEnumerator for connectable.

since: 2.22

g_socket_connectable_proxy_enumerate

Creates a GSocketAddressEnumerator for connectable that will return a GProxyAddress for each of its addresses that you must connect to via a proxy.

since: 2.26

g_socket_connectable_to_string

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.

since: 2.48

Properties

Properties inherited from GSocketAddress (1)
Gio.SocketAddress:family

The family of the socket address.

since: 2.22

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GioNativeSocketAddressClass {
  GSocketAddressClass parent_class;
  
}

No description available.

Class members
parent_class: GSocketAddressClass

No description available.