ZMQ-specific error codes added

This commit is contained in:
Martin Sustrik
2009-09-22 11:52:35 +02:00
parent cc8136896d
commit e136d923b7
9 changed files with 65 additions and 21 deletions

View File

@@ -124,13 +124,13 @@ int zmq::sub_t::xsetsockopt (int option_, const void *optval_,
int zmq::sub_t::xsend (struct zmq_msg_t *msg_, int flags_)
{
errno = EFAULT;
errno = ENOTSUP;
return -1;
}
int zmq::sub_t::xflush ()
{
errno = EFAULT;
errno = ENOTSUP;
return -1;
}