[zeromq-dev] Requesting suggestions for getsockopt() in Java

Pieter Hintjens ph at imatix.com
Wed Aug 11 16:53:52 CEST 2010


On Wed, Aug 11, 2010 at 4:21 PM, Pieter Hintjens <ph at imatix.com> wrote:

> This is what I've summarised from the source code (options.cpp):
>
> uint64_t
>
> ZMQ_HWM - wrong in getsockopt doc, wrong in setsockopt doc
> ZMQ_AFFINITY - wrong in getsockopt doc, wrong in setsockopt doc
> ZMQ_SNDBUF - correctly documented
> ZMQ_RCVBUF - correctly documented
>
> int64_t
>
> ZMQ_SWAP - not documented in getsockopt doc
^^ my mistake, it's properly documented.
> ZMQ_RATE - wrong in getsockopt doc, wrong in setsockopt doc
> ZMQ_RECOVERY_IVL - wrong in getsockopt doc, wrong in setsockopt doc
> ZMQ_MCAST_LOOP - wrong in getsockopt doc, wrong in setsockopt doc

I'll fix the man pages.  Mato and Martin point out that the set/get
socketopts API is messy and needs review but that will affect
bindings.

Thus a good candidate for review in 0MQ/3.0 along with other breakage
to the ABI/API.

-Pieter



More information about the zeromq-dev mailing list