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

Pieter Hintjens ph at imatix.com
Wed Oct 23 12:00:52 CEST 2013


For both clients and servers one must set public and secret keys; for
clients one additionally sets the server's public key, and for servers
one tells libzmq it is a server.

I'll fix the man page, thanks for catching this.

-Pieter

On Wed, Oct 23, 2013 at 11:22 AM, Peter Kleiweg <pkleiweg at xs4all.nl> wrote:
>
> 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/
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



-- 
-
Pieter Hintjens
CEO of iMatix.com
Founder of ZeroMQ community
blog: http://hintjens.com



More information about the zeromq-dev mailing list