ProxyAddress
A class@Gio.InetSocketAddress representing a connection via a proxy server.
Since
2.26
Constructors
Creates a new #GProxyAddress for @inetaddr with @protocol that should tunnel through @dest_hostname and @dest_port.
Properties
The address.
The proxy destination hostname.
The proxy destination port.
The protocol being spoke to the destination host, or null if the #GProxyAddress doesn't know.
The family of the socket address.
Functions
Creates a #GSocketAddressEnumerator for @connectable.
Gets @address's #GInetAddress.
Gets @proxy's destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.
Gets @proxy's destination port; that is, the port on the destination host that will be connected to via the proxy, not the port number of the proxy itself.
Gets the protocol that is being spoken to the destination server; eg, "http" or "ftp".
Gets the socket family type of @address.
Gets the sin6_flowinfo
field from @address, which must be an IPv6 address.
Gets the size of @address's native struct sockaddr. You can use this to allocate memory to pass to g_socket_address_to_native().
Gets @proxy's password.
Gets @proxy's protocol. eg, "socks" or "http"
Gets the sin6_scope_id
field from @address, which must be an IPv6 address.
Gets @proxy's username.
Creates a #GSocketAddressEnumerator for @connectable that will return a #GProxyAddress for each of its addresses that you must connect to via a proxy.