Feel free to publish this with an explanation, as a blog article somewhere. That's useful for people.
On Tue, Jul 21, 2015 at 8:36 AM, Miao Lin <[email protected]> wrote: > Dear Pieter: > > attached is my first malamute project, it open 2 clients for produce > and consume message. producer can send message to stream or to one client, > consumer can listen to series of stream and subject. > > it is written in c++ use STL and readline. > > do you think it helpful for malamute? > > Best > Miao > > 2015-07-16 19:18 GMT+08:00 Pieter Hintjens <[email protected]>: >> >> You can use CZMQ's zloop to poll on both a zsock_t and a POSIX socket. >> mlm_client_msgpipe returns the message socket for the client API. >> >> On Thu, Jul 16, 2015 at 9:35 AM, Miao Lin <[email protected]> wrote: >> > Hi: >> > I am writing my first zeromq code also malamute code, it is a simple >> > udp >> > message to malamute message bridge. I need to poll on a udp socket and >> > also >> > call mlm_client_recv, >> > my question is , how to poll on these 2 kind of different things? >> > >> > if zmq, seems can use zmq_poll on both legacy socket and zmq socket, >> > but >> > how to do in malamute? >> > >> > Best >> > MiaoLin >> > >> > _______________________________________________ >> > 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 > > > > _______________________________________________ > 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
