[zeromq-dev] Documentation error for "ZMQ_CURVE_SERVER: Set CURVE server role"

Peter Kleiweg pkleiweg at xs4all.nl
Wed Oct 23 11:22:49 CEST 2013


http://api.zeromq.org/4-0:zmq-setsockopt#toc38

The documentation for "ZMQ_CURVE_SERVER: Set CURVE server 
role" says:

    When you set this you must also set the ZMQ_CURVE_PUBLICKEY option.

This is wrong. It should be:

    When you set this you must also set the ZMQ_CURVE_SECRETKEY option.

Also:

    ZMQ_CURVE_PUBLICKEY: Set CURVE public key

This only applies to clients, not servers.

And:

    ZMQ_CURVE_SECRETKEY: Set CURVE secret key

This also applies to servers.


-- 
Peter Kleiweg
http://pkleiweg.home.xs4all.nl/



More information about the zeromq-dev mailing list