Alexey Melnichuk schreef op de 30e dag van de wijnmaand van het jaar 2013:
> 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.
> My code: https://github.com/moteus/lzmq/blob/5bf0d2eb0b/src/zsocket.c#L162
> The problem is
Alexey Melnichuk 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
Alexey Melnichuk schreef op de 30e dag van de wijnmaand van het jaar 2013:
> 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.
See my binding for Go, perhaps it helps:
C part:
https://github.com/pebbe/zmq3/blob/master
Pieter Hintjens imatix.com> writes:
>
> On Wed, Oct 30, 2013 at 3:09 PM, Alexey Melnichuk newmail.ru>
wrote:
>
> > 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 do
On Wed, Oct 30, 2013 at 3:09 PM, Alexey Melnichuk wrote:
> 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.
> The second question. Why in zmq_z85_XXX `src` is not const pointer?
We've
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.
My code: https://github.com/moteus/lzmq/blob/5bf0d2eb0b/src/zsocket.c#L162
The problem is that i get some garbage at
address `event.data.accepted.addr` [2]
In doc I found: