[zeromq-dev] Documentation error for "ZMQ_CURVE_SERVER: Set CURVE server role"
Pieter Hintjens
ph at imatix.com
Wed Oct 23 12:05:28 CEST 2013
OK, can you double-check https://github.com/zeromq/libzmq/pull/716? Thanks!
On Wed, Oct 23, 2013 at 12:00 PM, Pieter Hintjens <ph at imatix.com> wrote:
> 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
--
-
Pieter Hintjens
CEO of iMatix.com
Founder of ZeroMQ community
blog: http://hintjens.com
More information about the zeromq-dev
mailing list