SocketConnectableIF

Objects that describe one or more potential socket endpoints implement GSocketConnectable. Callers can then use g_socket_connectable_enumerate() to get a GSocketAddressEnumerator to try out each socket address in turn until one succeeds, as shown in the sample code below.

Members

Functions

enumerate
SocketAddressEnumerator enumerate()

Creates a GSocketAddressEnumerator for connectable. Since 2.22

getSocketConnectableTStruct
GSocketConnectable* getSocketConnectableTStruct()
Undocumented in source.
getStruct
void* getStruct()

the main Gtk struct as a void*

proxyEnumerate
SocketAddressEnumerator proxyEnumerate()

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(). Since 2.26

Meta