summaryrefslogtreecommitdiff
path: root/bindings/c/zmq.h
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-11-24 11:23:10 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-11-24 11:23:10 +0100
commitc98fd6bc3f2a49d7cb0b820a07354168c98f60b7 (patch)
tree894f3dc0e6221284c6608a8819488f4ffede1085 /bindings/c/zmq.h
parent5cd98bc575517ea72c435770a5313711484f7d34 (diff)
ZMQII-25: Implement streamed request/reply
Diffstat (limited to 'bindings/c/zmq.h')
-rw-r--r--bindings/c/zmq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/c/zmq.h b/bindings/c/zmq.h
index 9b11a1d..a65926e 100644
--- a/bindings/c/zmq.h
+++ b/bindings/c/zmq.h
@@ -188,6 +188,12 @@ ZMQ_EXPORT int zmq_term (void *context);
// the peer that issued the last received request.
#define ZMQ_REP 4
+// Socket to receive messages from up the stream.
+#define ZMQ_UPSTREAM 5
+
+// Socket to send messages downstream.
+#define ZMQ_DOWNSTREAM 6
+
// Open a socket. 'type' is one of the socket types defined above.
//
// Errors: EINVAL - invalid socket type.