Perfect Martin,

It is working now. Thank you a lot.

I want to show your nice library in our firm. I want to show how can we use it 
and of course performance.
I want to compare our implementation of socket (based on linux socket) with our 
library.

There is no server/client architecture in our system. Each node have to 
communicate with other bidirectional.
When node A receives request from outside world (in this case it is server for 
outside world) it calculates destination node and have to start bidirectional 
communication (=it send request and wants to receive reply, and also it 
receives request and has to send reply). Each node can communicate with other 
node.

Is it possible to use zeroMQ for such architecture?

Stevo

-----Original Message-----
From: Martin Sustrik [mailto:[email protected]] 
Sent: Tuesday, July 12, 2011 12:51 PM
To: ZeroMQ development list
Cc: BELLUS Stefan
Subject: Re: [zeromq-dev] Question about epoll

On 07/12/2011 12:27 PM, BELLUS Stefan wrote:

> I want to try 0mq on our embedded devices (powerpc) with linux 2.6.21.7.
> I guess this version doesn't support epoll.
> I cross compile 0mq and I run './local_lat tcp:eth0:5555 1 100000' I 
> get following print out Function not implemented epoll_fd != -1 
> (epoll.cpp:41) Aborted

Yes. Looks like epoll is not supported by the OS. Interesting.

> Did I compile it wrong? Is it possible to use 0mq without epoll?

Yes. Just define ZMQ_FORCE_POLL.

export CXXFLAGS=-DZMQ_FORCE_POLL
./configure
make

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to