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

Account for the total size of a sent message in the per msg type connection stats&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e2b2a80b8), requires&lowbar;capability(0x7f2e2ad13808), requires&lowbar;capability(0x7f2e23031e68), requires&lowbar;capability(0x7f2e26edea38), requires&lowbar;capability(0x7f2e231580b8), requires&lowbar;capability(0x7f2e36827938), requires&lowbar;capability(0x7f2e228b0058), requires&lowbar;capability(0x7f2e431dce18), requires&lowbar;capability(0x7f2e1b9fc0e8), requires&lowbar;capability(0x7f2e2b9cfc88), requires&lowbar;capability(0x7f2e403d2388)&rsqb;&rsqb;
void
AccountForSentBytes(
    std::string const& msg&lowbar;type,
    size&lowbar;t sent&lowbar;bytes);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *msg&lowbar;type*
| the message type (command) that was sent&period;
| *sent&lowbar;bytes*
| the number of bytes sent for that message&period;
|===


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