Text messages sent via zmq get a trailing null char on the receiver side. The method message_t::to_string[_view] return a string size which is one byte larger than expected.
Comparison between such returned strings are broken unless one manually constructs a longer string and then sets the last char to null.
Text messages sent via zmq get a trailing null char on the receiver side. The method message_t::to_string[_view] return a string size which is one byte larger than expected. Comparison between such returned strings are broken unless one manually constructs a longer string and then sets the last char to null.