[zeromq-dev] ZMQ appends weird characters to message

Dávid Kaya mail at davidkaya.sk
Sun Sep 14 17:02:17 CEST 2014


Let's say I have a message like this one:

string loginMessage = "login";

whenever I send it, it comes like this: "loginY
Socket-Type". There is 
also a empty "box" after Y. Then when I send a url, (120 characters 
approx.), zmq cuts off last couple of characters and replace them with 
'@' followed by empty boxes. It's always same characters, it does not 
change. It's a 'Y' with empty box in "login" message and '@' with empty 
boxes in url message.

I use IPC socket (REP/REQ) on linux (created in "/tmp/*socket*"), zmq 
version 4.0.4 and c++ binding (last version).



More information about the zeromq-dev mailing list