[zeromq-dev] ZeroMQ question
Ivan Pechorin
ivan.pechorin at gmail.com
Sat May 5 10:41:02 CEST 2012
2012/5/4 Philippe MESLIN <meslin at syspertec.com>
> If we run the following code:
>
The code in your email seems broken to me and should not compile.
Please, try to copy-paste something that at least compiles.
> zmq_rc zmq_msg_init_data = (& request, "Hello My Size is EQUAL TO 29 <",
> sizeof ("Hello My Size is EQUAL TO 29 <"), virtual_proc, NULL);
>
By the way, sizeof ("Hello My Size is EQUAL TO 29 <") == 31, not 29.
There are 30 characters + 1 for the terminating zero
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120505/cff52cbf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 70 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120505/cff52cbf/attachment.gif>
More information about the zeromq-dev
mailing list