Allows to configure a new hop to be added to the current proxy configuration. The hop added, will be appended to the current configuration:
[new hop] -> [next hop] -> [next hop]
You can configure one proxy to act as the first (and the only one) hop for all you connections, or you can configure a serie of hops. The hop configuration provided will be a combination of the following items:
The function must receive a set of VortexTunnelItem followed by its associated value, terminated with a TUNNEL_END_CONF. For example: VortexTunnelSettings * settings; // create the settings settings = vortex_tunnel_settings_new (); // configure the default proxy vortex_tunnel_settings_add_hop (settings, TUNNEL_IP4, "192.168.1.100", TUNNEL_PORT, "604", TUNNEL_END_CONF);
|