[#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(0x7f950efa7db8), requires_capability(0x7f950eb88fd8), requires_capability(0x7f950ae3a6e8), requires_capability(0x7f9502e7d5e8), requires_capability(0x7f952353c168), requires_capability(0x7f94f8652738), requires_capability(0x7f9522f6aad8), requires_capability(0x7f950ef0b148), requires_capability(0x7f951f0c05f8), requires_capability(0x7f9508067588), requires_capability(0x7f952271a2e8)]] 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]#