sustrik at 250bpm.com
Wed Apr 28 08:09:57 CEST 2010
Brian Granger wrote:
> I am adding support for the new multipart messages in the Python
> bindings and as part of this I am wrapping getsockopt.
> I have a few questions about what options it makes sense to call
> getsockopt for. More specifically, the string valued
> options are presenting problems for getsockopt:
> zmq.IDENTITY: Get Invalid argument error upon getsockopt. Segfault
> if IDENTITY has not been setsockopt'd
Aha. Looks like a bug.
> zmq.SUBSCRIBE/UNSUBSCRIBE: Get Invalid argument error upon getsockopt.
> Do these even make sense to call getsockopt on?
No. It doesn't make sense.
More information about the zeromq-dev