[#V1Transport-SetMessageToSend] = xref:V1Transport.adoc[V1Transport]::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(0x7ff36f10e8f8), requires_capability(0x7ff36d80d128), requires_capability(0x7ff37ed967c8), requires_capability(0x7ff376ef3488), requires_capability(0x7ff38f4868b8), requires_capability(0x7ff37e9d7148), requires_capability(0x7ff38de55a48), requires_capability(0x7ff388ff9f38), requires_capability(0x7ff37aed3b28), requires_capability(0x7ff380824a18), requires_capability(0x7ff38073e928)]] 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]#