zeromq.node
zeromq.node copied to clipboard
Bug in bind and unbind?
@kkoopa correct me if I'm wrong, but isn't this in the wrong place? https://github.com/JustinTulloss/zeromq.node/blob/master/lib/index.js#L317
I don't know. I just copied bind.
So no callback on error? Except in one case of error... This doesn't smell right.
Fwiw I can't get unbind to work at all right now, only unbindSync seems to do the trick.
edit: I resolved my issue. Turns out you can't rely on the callbacks to be fired only after they're ready. Delaying my send by a few ms helped.