[#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"] ---- 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]#