diff --git a/zmq.hpp b/zmq.hpp index a30beda..5bd19a7 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -351,6 +351,13 @@ namespace zmq throw error_t (); } + inline void unbind (const char *addr_) + { + int rc = zmq_unbind (ptr, addr_); + if (rc != 0) + throw error_t (); + } + inline void connect (const char *addr_) { int rc = zmq_connect (ptr, addr_);