[#Proxy-Connect]
= xref:Proxy.adoc[Proxy]::Connect
:relfileprefix: ../
:mrdocs:

Open a connection to this proxy&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::unique&lowbar;ptr&lt;Sock&gt;
Connect() const;
----

== Return Value

A connected socket, or an empty pointer on failure&period;


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