diff options
-rw-r--r-- | include/zmq.h | 2 | ||||
-rw-r--r-- | src/zmq.cpp | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/zmq.h b/include/zmq.h index 7d8d8ad..1d99254 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -181,7 +181,6 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_RCVBUF 12 #define ZMQ_NOBLOCK 1 -#define ZMQ_NOFLUSH 2 ZMQ_EXPORT void *zmq_socket (void *context, int type); ZMQ_EXPORT int zmq_close (void *s); @@ -190,7 +189,6 @@ ZMQ_EXPORT int zmq_setsockopt (void *s, int option, const void *optval, ZMQ_EXPORT int zmq_bind (void *s, const char *addr); ZMQ_EXPORT int zmq_connect (void *s, const char *addr); ZMQ_EXPORT int zmq_send (void *s, zmq_msg_t *msg, int flags); -ZMQ_EXPORT int zmq_flush (void *s); ZMQ_EXPORT int zmq_recv (void *s, zmq_msg_t *msg, int flags); //////////////////////////////////////////////////////////////////////////////// diff --git a/src/zmq.cpp b/src/zmq.cpp index 80720ae..14898d5 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -313,12 +313,6 @@ int zmq_send (void *s_, zmq_msg_t *msg_, int flags_) return (((zmq::socket_base_t*) s_)->send (msg_, flags_)); } -int zmq_flush (void *s_) -{ - errno = ENOTSUP; - return -1; -} - int zmq_recv (void *s_, zmq_msg_t *msg_, int flags_) { return (((zmq::socket_base_t*) s_)->recv (msg_, flags_)); |