Skip to content

zmq pub/sub seems doesn't work #15

Open
daogangtang opened this Issue Oct 13, 2012 · 2 comments

2 participants

@daogangtang

hi, I wrote a pub/sub test,

pub:

local pub = zmq:socket(luv.zmq.PUB)
pub:bind('tcp://127.0.0.1:12315')

sub:

local sub = zmq:socket(luv.zmq.SUB)
sub:connect('tcp://127.0.0.1:12315')
sub:setsockopt("SUBSCRIBE", '')

pub:send(msg) can work, bug sub:recv() is blocked always, no data returned.

can you check it?

@dvv
dvv commented Oct 14, 2012

mind to submit the whole test?

@daogangtang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.