Hi, I am a newbie to the ZMQ and have been reading about it for a few days, executed a few samples etc.
My scenario is simple to start with. I have two processes on the local machine and want them to pass data to each other over IPC. I managed that alright - using PUB-SUB model that each process has a publisher to send data and a subscriber to receive data. What I am wondering is how my publisher can know whether or not the channel is actually established? If established, send the data to the subscriber, not otherwise. From what I see, socket.send(msg) returns true regardless there is a subscriber process or not... Perhaps I need to use a different model than PUB-SUB but all I have to do is pass some data between 2 processes. It doesnt have to be REQ-REP type either.. Sender of the data doesnt require a response (except I might require an ACK in the future). Thanks in advance!
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
