[zeromq-dev] UDP support

Martin Sustrik sustrik at 250bpm.com
Mon Feb 1 15:47:10 CET 2010


Armin Steinhoff wrote:
> Martin Sustrik wrote:
>> [ clip ]
>> Which multicast example? The one on the website
>>
>> http://www.zeromq.org/area:docs-v20#toc12
>>
>> seems to be OK.
>>   
> That's only the case  is  sizeof(int64_t)  (==8)  is supported.

Hm. I've added following lines to remote_thr.c:

     rc = zmq_setsockopt (s, ZMQ_RATE, &rate, sizeof (int64_t));
     if (rc != 0) {
         printf ("error in zmq_setsockopt: %s\n", zmq_strerror (errno));
         return -1;
     }

It still seems to work. Have you done the same? If so, what 
microarchitecture and OS are you running on?

Martin




More information about the zeromq-dev mailing list