Merge pull request #24 from csteifel/master

Added ability to check for more (multipart)
This commit is contained in:
Kobolog 2013-07-12 15:26:04 -07:00
commit abb3bd2c75

View File

@ -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);