Method

GioSocketConnectableproxy_enumerate

since: 2.26

Declaration

GSocketAddressEnumerator*
g_socket_connectable_proxy_enumerate (
  GSocketConnectable* connectable
)

Description

Creates a GSocketAddressEnumerator for connectable that will return a GProxyAddress for each of its 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().

Available since: 2.26

Return value

Type: GSocketAddressEnumerator

A new GSocketAddressEnumerator.

The caller of the method takes ownership of the data, and is responsible for freeing it.