On Aug 21, 2012, at 1:35 AM, Brilliantov Kirill Vladimirovich wrote:

> Hello!
> I use ZeroMQ 2.2.0 for interprocess communication on ARM-based board.
> I write two daemons with ZMQ_REP/ZMQ_REQ mechanism, socket address 
> ipc://config - first control config file, second get some parameters 
> from config file via first daemon, its work fine.
> Now I add web-interface for configure board. I write CGI for send 
> request on configuration daemon, daemon work, but it not get messages 
> from CGI, if I run CGI manually daemon get message.
> After change socket address on ipc:///tmp/config, from ipc://config, 
> daemon get message from CGI.
> Than such difference speaks between ipc://config and ipc:///tmp/config 
> for CGI?
> Thank you and excuse me for my bad english.

If you daemon process and your CGI process are both connecting to ipc://config 
then that socket file will be at a path relative to each process. Just use 
ipc:///tmp/config (or a similar absolute path) and then both processes can find 
the same socket file.

cr

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to