Method

GioProxyAddressget_destination_port

Declaration

guint16
g_proxy_address_get_destination_port (
  GProxyAddress* proxy
)

Description

Gets proxys 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.

Available since:2.26

Return value

Returns: guint16
 

The proxys destination port.