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

Alexey Melnichuk mimir at newmail.ru
Wed Oct 30 18:26:44 CET 2013

Alexey Melnichuk <mimir <at> newmail.ru> writes:

> 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`?

Sorry. I close message before i access to `addr` field 
and use zmq_recv(... sizeof(zmq_event_t) ...) in ffi version :).
Could you please add attention about that in doc.
Also in example for zmq_socket_monitor for zmq 4.0 there no
call zmq_msg_close in `read_msg` functions. Is it should cause 
memory leak?

More information about the zeromq-dev mailing list