hi Martin,

"fail" means libevent doesn't tell me that POLLIN is triggered in 
pull-socket when I write data to push-socket, which
is just causing by using zmq_bind() or zmq_connect() for pull-socket.

I think 'test.c' is the minimal test case. And I update it to show the 
'ok' and 'fail' version.

I test the 'test.c' in Debian and FreeBSD 8.1 with zmq 2.1.0, the same 
problem appears.

On 2010-12-6 16:48, Martin Sustrik wrote:
> Hi,
>
>> zmq 2.1.0, ZMQ_FD bug
>>      pull = zmq_bind(), push = zmq_connect(), libevent + pull, ok!
>>      push = zmq_bind(), pull = zmq_connect(), libevent + pull, fail!
>
> What does "fail" main?
>
>> example:
>> https://github.com/kasicass/kasicass/blob/master/zmq/test.c
>
> Can you provide a minimal test case?
>
> Martin

Kasicass, co...@work
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to