[#CNode-PollMessage] = xref:CNode.adoc[CNode]::PollMessage :relfileprefix: ../ :mrdocs: Poll the next message from the processing queue of this connection. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7fb96f08e3a8), requires_capability(0x7fb96f19d7c8), requires_capability(0x7fb96713ba78), requires_capability(0x7fb96b0530b8), requires_capability(0x7fb95ed2bcd8), requires_capability(0x7fb96c8add78), requires_capability(0x7fb95fd9a538), requires_capability(0x7fb94c275df8), requires_capability(0x7fb966e24ee8), requires_capability(0x7fb97a56c228), requires_capability(0x7fb96e77e3e8)]] std::optional<std::pair<CNetMessage, bool>> PollMessage(); ---- == Description Returns std::nullopt if the processing queue is empty, or a pair consisting of the message and a bool that indicates if the processing queue has more entries. == Return Value the next message and whether more remain, or std::nullopt if the queue is empty. [.small]#Created with https://www.mrdocs.com[MrDocs]#