summaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-11 18:16:47 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-11 18:16:47 +0200
commit47350adcb6ea48512d732bc323eb1835a5ac9908 (patch)
treee439927e9a04c673d745db1fd380d4baf7807c60 /c
parente940878b3f8ff332df534c4df463cfdf085cc787 (diff)
separate class for PUB-style socket added
Diffstat (limited to 'c')
-rw-r--r--c/zmq.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/zmq.h b/c/zmq.h
index df6e04c..cb86dcc 100644
--- a/c/zmq.h
+++ b/c/zmq.h
@@ -184,12 +184,12 @@ ZMQ_EXPORT int zmq_connect (void *s, const char *addr);
//
// Errors: EAGAIN - message cannot be sent at the moment (applies only to
// non-blocking send).
-// ENOTSUP - function isn't supported by particular socket type.
+// EFAULT - function isn't supported by particular socket type.
ZMQ_EXPORT int zmq_send (void *s, struct zmq_msg_t *msg, int flags);
// Flush the messages that were send using ZMQ_NOFLUSH flag down the stream.
//
-// Errors: ENOTSUP - function isn't supported by particular socket type.
+// Errors: FAULT - function isn't supported by particular socket type.
ZMQ_EXPORT int zmq_flush (void *s);
// Send a message from the socket 's'. 'flags' argument can be combination
@@ -198,7 +198,7 @@ ZMQ_EXPORT int zmq_flush (void *s);
//
// Errors: EAGAIN - message cannot be received at the moment (applies only to
// non-blocking receive).
-// ENOTSUP - function isn't supported by particular socket type.
+// EFAULT - function isn't supported by particular socket type.
ZMQ_EXPORT int zmq_recv (void *s, struct zmq_msg_t *msg, int flags);
// Helper functions used by perf tests so that they don't have to care