JustinTulloss/zeromq.node — pull request #158 by freehaha (2012-10-28 15:13:16+00:00)
Title: ZMQ_SNDHWM and ZMQ_RCVHWM should use type of int instead of uint64_t

hi JustinTulloss,

First, many thanks for writing this ZMQ binding for node.js =)
However, I encountered 'invalid argument' setting ZMQ_SNDHWM and ZMQ_RCVHWM for the zmq socket so I looked into the zmq source and found that setsockopt in options.cpp:65, ZMQ_SNDHWM and ZMQ_RCVHWM is of type int but is uint64_t in binding.cc.

Regards,
Freehaha