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

Helper function to log disconnects&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
DisconnectMsg() const;
----

== Return Value

&quot;disconnecting peer&equals;&period;&period;&period;&quot; and optionally &quot;, peeraddr&equals;&period;&period;&period;&quot;


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