Adding ability to check for multipart messages

This commit is contained in:
Colin Steifel 2013-07-12 17:02:10 -04:00
parent c36e3065d2
commit b6839cd50d

View File

@ -204,6 +204,12 @@ namespace zmq
throw error_t ();
}
inline bool more ()
{
int rc = zmq_msg_more(&msg);
return static_cast<bool>(rc);
}
inline void *data ()
{
return zmq_msg_data (&msg);