Top |
GSocketConnectable * | connectable | Read / Write / Construct Only |
guint | default-port | Read / Write / Construct Only |
GProxyResolver * | proxy-resolver | Read / Write / Construct |
char * | uri | Read / Write / Construct Only |
GProxyAddressEnumerator is a wrapper around GSocketAddressEnumerator which takes the GSocketAddress instances returned by the GSocketAddressEnumerator and wraps them in GProxyAddress instances, using the given “proxy-resolver”.
This enumerator will be returned (for example, by
g_socket_connectable_enumerate()
) as appropriate when a proxy is configured;
there should be no need to manually wrap a GSocketAddressEnumerator instance
with one.
typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator;
A subclass of GSocketAddressEnumerator that takes another address enumerator and wraps each of its results in a GProxyAddress as directed by the default GProxyResolver.
struct GProxyAddressEnumeratorClass { };
Class structure for GProxyAddressEnumerator.
“connectable”
property“connectable” GSocketConnectable *
The connectable being enumerated.
Owner: GProxyAddressEnumerator
Flags: Read / Write / Construct Only
“default-port”
property “default-port” guint
The default port to use if “uri” does not specify one.
Owner: GProxyAddressEnumerator
Flags: Read / Write / Construct Only
Allowed values: <= 65535
Default value: 0
Since: 2.38
“proxy-resolver”
property“proxy-resolver” GProxyResolver *
The proxy resolver to use.
Owner: GProxyAddressEnumerator
Flags: Read / Write / Construct
Since: 2.36