[#CNetMessage-2constructor-06]
= xref:CNetMessage.adoc[CNetMessage]::CNetMessage
:relfileprefix: ../
:mrdocs:

Construct a message that takes ownership of the received data stream&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CNetMessage(xref:DataStream.adoc[DataStream]&& recv&lowbar;in);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *recv&lowbar;in*
| the received data stream to take ownership of&period;
|===


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