Poll the next message from the processing queue of this connection.
Declared in <net.h>
std::optional<std::pair<CNetMessage, bool>>
PollMessage();
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.
the next message and whether more remain, or std::nullopt if the queue is empty.