You should check the return value of those calls to zmq_bind, zmq_connect etc. Try 127.0.0.1 instead of localhost, you're probably getting ENODEV on the bind.
Ian On Mon, Apr 15, 2013 at 1:03 PM, Lucas Maxwell <[email protected]> wrote: > Hi, > > I'm working on a some code that generates a large volume of data and I'm > using zmq to push the data off to a forked process for further work. I've > run into a weird situation where the child process which is trying to > receive the messages doesn't receive any until the main process stops > producing them. To rule out any of my code causing issues I've taken > zguide/{psenvpub,psenvseb} (which work fine on their own) and combined them > into a fork setup to more closely mirror what I'm trying to achieve, but > I'm seeing the same situation where the messages aren't being received. > > I feel like I'm missing something at the zmq level and what I'm trying to > do should be done a different way. Any help would be much appreciated. > > OS: OSX 10.8 > zmq version: 3.2.2 > sample code: http://pastebin.com/ZXVsp8UH > > Cheers, > Lucas > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
