SetProxy

Set the proxy used to reach a given network.

Synopsis

Declared in <netbase.h>

bool
SetProxy(
    Network net,
    Proxy const& addrProxy);

Return Value

True when the proxy was set.

Parameters

NameDescription
netThe network to configure a proxy for.
addrProxyThe proxy to use for that network.