[#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(0x7ff36f12abd8), requires_capability(0x7ff36d829468), requires_capability(0x7ff37edb2b08), requires_capability(0x7ff376f0f7c8), requires_capability(0x7ff38f4a2ba8), requires_capability(0x7ff37e9f3488), requires_capability(0x7ff38de71d48), requires_capability(0x7ff389016208), requires_capability(0x7ff37aeefe18), requires_capability(0x7ff37c358538), requires_capability(0x7ff37d9e21c8)]] 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]#