methodmissing / rbczmq

Ruby extension that wraps the official high level ZeroMQ C API ( http://czmq.zeromq.org/ )
http://github.com/methodmissing/rbczmq
MIT License
125 stars 32 forks source link

Handling of return codes #37

Closed AndreasBomholtz closed 9 years ago

AndreasBomholtz commented 9 years ago

I like to use the return codes from the send_message function, to check if the message was send when using the ROUTER socket. I have enabled the ROUTER_MANDATORY and SNDTIMEO options on the socket. I can see in the code that the return code from zmq_send function is not used. How can I then check if the message was send or not?