mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
ZMQ-specific error codes added
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user