[#Sock-2constructor-029]
= xref:Sock.adoc[Sock]::Sock
:relfileprefix: ../
:mrdocs:

Take ownership of an existent socket&period;

== Synopsis

Declared in `&lt;util&sol;sock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Sock(xref:SOCKET.adoc[SOCKET] s);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The socket descriptor to take ownership of&period;
|===


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