I'm getting error 156384732 when I try to get the identity of a socket. Of course I set the identity previously without any error. According to your zmq-errors.txt this means "EINVAL: Invalid argument".
I don't have much experience with zmq, yet. Maybe it's some basic misunderstanding. However, a quick test, doing the same in Python, runs without error...
Edit: I'm using LV2016 and ZeroMQ Socket Library version 3.4.1.107.
Edit 2: Nevermind... according to the guide, identity is only for router sockets.
Last edit: pktl 2018-07-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey,
Glad you figured it out; evidently it wasn't the same test you did in Python? According to the API docs (http://api.zeromq.org/4-2:zmq-setsockopt) the property only exists on ZMQ_REQ, ZMQ_REP, ZMQ_ROUTER, ZMQ_DEALER sockets... but I'm pretty sure it's used by other types too (e.g. ZMQ_PUB)
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I'm getting error 156384732 when I try to get the identity of a socket. Of course I set the identity previously without any error. According to your zmq-errors.txt this means "EINVAL: Invalid argument".
I don't have much experience with zmq, yet. Maybe it's some basic misunderstanding. However, a quick test, doing the same in Python, runs without error...
Edit: I'm using LV2016 and ZeroMQ Socket Library version 3.4.1.107.
Edit 2: Nevermind... according to the guide, identity is only for router sockets.
Last edit: pktl 2018-07-04
Hey,
Glad you figured it out; evidently it wasn't the same test you did in Python? According to the API docs (http://api.zeromq.org/4-2:zmq-setsockopt) the property only exists on ZMQ_REQ, ZMQ_REP, ZMQ_ROUTER, ZMQ_DEALER sockets... but I'm pretty sure it's used by other types too (e.g. ZMQ_PUB)
Cheers