Hi, I'm having an hard time understanding the NetMQ.Poller usage (here: https://github.com/zeromq/netmq/blob/master/src/NetMQ/Poller.cs).
The fact is, it doesn't expose any Poll method. I guess that this is done in the aim of OOP desing. But I'm not sure about its correct usage. My insight is that after adding the sockets to the Poller, I should simply observe the sockets' events ReceiveReady and SendReady, but if so: 1. does the Start method block? If not, this should mean that I don't have to use it in a dedicated thread, right? 2. what are the pro/cons of Stop(false)? 3. one of the socket I added to the poller is a "control" one that send a "STOP" command when required. In the event handler can I stop the poller and remove the sockets? 4. what should I do to cleanup things (before context disposition)? Moreover I'd like to know if the socket events will ever be fired from sockets that aren't in a Poller, or not. Finally a bonus question (be patient, I'm a newbie here): I've read that with ZeroMQ I can loose a few messages at connection startup (even if I start the receiver before the sender): does this apply to inproc sockets too? Thanks a lot. Giacomo
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
