[#CNode-CloseSocketDisconnect]
= xref:CNode.adoc[CNode]::CloseSocketDisconnect
:relfileprefix: ../
:mrdocs:

Close the socket and mark the connection as disconnected&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e2b2a85b8), requires&lowbar;capability(0x7f2e2ad13d08), requires&lowbar;capability(0x7f2e23032368), requires&lowbar;capability(0x7f2e26edef38), requires&lowbar;capability(0x7f2e231585b8), requires&lowbar;capability(0x7f2e36827e38), requires&lowbar;capability(0x7f2e228b0558), requires&lowbar;capability(0x7f2e431dd318), requires&lowbar;capability(0x7f2e1b9fc5e8), requires&lowbar;capability(0x7f2e2b9d0188), requires&lowbar;capability(0x7f2e403d2888)&rsqb;&rsqb;
void
CloseSocketDisconnect();
----


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