[zeromq-dev] zmq_send_msg return positive number not zero
Brad Taylor
cbradtaylor at gmail.com
Wed Nov 28 23:33:55 CET 2012
Code snippet below…..
rc = zmq_msg_send(&zmqRequestMessage,pZmqSocket,0);
if (rc) {
pResponse->rc = LZ_JEZRC_ZMQSENDFAILED;
pResponse->errnumber = errno;
break;
}
In debug mode, I check the value of rc and get a value of 329, which just happens to be my message size. Am I doing something wrong here. Seems to be behaving like socket send, return #bytes sent. Doc says rc should be 0.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121128/56bad314/attachment.htm>
More information about the zeromq-dev
mailing list