[zeromq-dev] Problem on ARM platform

David Jagoe davidjagoe at gmail.com
Fri Apr 11 23:54:30 CEST 2014


On 11 April 2014 11:09, Michael Haberler <mail17 at mah.priv.at> wrote:
>
> David,
>
> Am 11.04.2014 um 19:26 schrieb David Jagoe <davidjagoe at gmail.com>:
>
> >
> > I've got a simple program that works on my PC but not when I compile it
on an ARM platform.
> >
> > void publish(void *socket) {
> >   while (TRUE) {
> >     sleep(1);
> >     zstr_send(socket, "hello 1 2");
>
> ----^^^^^^^^^ you dont give a topic - you would want to send a multipart
message here: ["topic", "contents"]
> try:
>
>  zstr_sendm (socket, "topic");
>  zstr_send(socket, "hello 1 2");
>

Interesting. Is this a change to the API? I have an older version working
without using the zstr_sendm call.

I'm on vacation now for a week but I'll try it again when I'm back.

Thanks for your help!


Cheers,
David

--
David Jagoe

davidjagoe at gmail.com
+18053284389
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140411/be42483e/attachment.htm>


More information about the zeromq-dev mailing list