[zeromq-dev] Event monitor on 3.2.x version

Alexey Melnichuk mimir at newmail.ru
Wed Oct 30 15:44:31 CET 2013

Pieter Hintjens <ph <at> imatix.com> writes:

> On Wed, Oct 30, 2013 at 3:09 PM, Alexey Melnichuk <mimir <at> newmail.ru>
> > I try implement recv_event method for my Lua binding [1].
> > For zmq 4.0 all warks fine but for zmq 3.2.x I can not get address.
> ... I can't help with this one.

Is it doesn't work at all?
`event.data.connected.addr` pointed to garbage.
Problem not in Lua code.
If address is not supported maybe you should mention about this in doc.
May be `addr` point on some thing like `struct sockaddr_in`?

> > The second question. Why in zmq_z85_XXX `src` is not const pointer?
> We've not used const systematically. It sometimes is annoying and
> doesn't seem to catch errors.

Ok. I just really do not like remove const from variable.

More information about the zeromq-dev mailing list