[#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(0x7fb96eed87a8), requires_capability(0x7fb97ba19498), requires_capability(0x7fb966f85db8), requires_capability(0x7fb96ae9d3f8), requires_capability(0x7fb95eba60e8), requires_capability(0x7fb979151f28), requires_capability(0x7fb95de642a8), requires_capability(0x7fb95f9b6518), requires_capability(0x7fb966c6f2e8), requires_capability(0x7fb96c2abdc8), requires_capability(0x7fb97adf0128)]] 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]#