[#V2Transport-SetMessageToSend] = xref:V2Transport.adoc[V2Transport]::SetMessageToSend :relfileprefix: ../ :mrdocs: Set the next message to send, returning whether it was accepted. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e2b0f23f8), requires_capability(0x7f2e2aa3bc68), requires_capability(0x7f2e22e7c0e8), requires_capability(0x7f2e26d28cb8), requires_capability(0x7f2e20d4a708), requires_capability(0x7f2e2af17638), requires_capability(0x7f2e4317d8b8), requires_capability(0x7f2e21e50de8), requires_capability(0x7f2e1b876438), requires_capability(0x7f2e35f9dca8), requires_capability(0x7f2e4396cff8)]] virtual bool SetMessageToSend(xref:CSerializedNetMsg.adoc[CSerializedNetMsg]& msg) noexcept override; ---- == Return Value true if the message was accepted, false if none could be set right now. == Parameters [cols="1,4"] |=== | Name| Description | *msg* | the message to enqueue; may be moved‐from on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#