accre / lstore

LStore - A fault-tolerant, performant distributed data storage framework.
http://www.lstore.org
Apache License 2.0
4 stars 5 forks source link

Fix 0mq vs CZMQ api differences getting the UUID #165

Closed tacketar closed 7 years ago

tacketar commented 7 years ago

I don't think this is quite right. I think the zmq_getsockopt() should have '&c->mq_uuid' changed to 'c->mq_uuid' at least according to the docs it should be.

zmq_getsockopt(c->sock->arg, ZMQ_IDENTITY, &c->mq_uuid, &s)zmq_getsockopt(c->sock->arg, ZMQ_IDENTITY, &c->mq_uuid, &s)

PerilousApricot commented 7 years ago

:/

I'm gonna let you go ahead and test it before I make the next commit

tacketar commented 7 years ago

Hey it worked for me. I have no idea why but it did return the expected string.