[#SetProxy]
= SetProxy
:mrdocs:

Set the proxy used to reach a given network&period;

== Synopsis

Declared in `&lt;netbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
SetProxy(
    xref:Network.adoc[Network] net,
    xref:Proxy.adoc[Proxy] const& addrProxy);
----

== Return Value

True when the proxy was set&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *net*
| The network to configure a proxy for&period;
| *addrProxy*
| The proxy to use for that network&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
