[zeromq-dev] Stopping zmq_device
Jon Dyte
jon at totient.co.uk
Sun Jul 4 23:13:23 CEST 2010
Robin Weisberg wrote:
> Just curious what you mean by "I need to add the setsocket option stuff". Perhaps you are referring to the ability to set socket options from the xml config file? I think it would be a useful feature to have something in ZMQ (not just in the device) that can set the socket options from a string. E.g.
>
>
Hi Robin
yes I just meant the ability to add the socket options in the xml config
file and those then be processed for each socket in that section of the
config file.
This is pretty much necessary to have standalone devices that do
anything useful or else be saddled with the defaults.
> s.setsockopt(ZMQ_SOCKOPTSTR,"ZMQ_RATE=1000;ZMQ_HWM=10000;ZMQ_LWM=2000");
>
> In addition to being a useful function for the device to use when parsing its xml config file, anybody else who wants to set options based on a config file would find this useful.
>
>
The list is the place all these ideas should be discussed , be
interesting to see what ideas other people have as well.
jon
More information about the zeromq-dev
mailing list