mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-03-01 20:02:15 +01:00
Merge pull request #24 from csteifel/master
Added ability to check for more (multipart)
This commit is contained in:
commit
abb3bd2c75
6
zmq.hpp
6
zmq.hpp
@ -204,6 +204,12 @@ namespace zmq
|
||||
throw error_t ();
|
||||
}
|
||||
|
||||
inline bool more ()
|
||||
{
|
||||
int rc = zmq_msg_more (&msg);
|
||||
return rc != 0;
|
||||
}
|
||||
|
||||
inline void *data ()
|
||||
{
|
||||
return zmq_msg_data (&msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user