MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / recv

Function recv

3rdparty/cppzmq/zmq.hpp:2004–2012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2002 ZMQ_CPP11_DEPRECATED(
2003 "from 4.3.1, use recv taking a mutable_buffer and recv_flags")
2004 size_t recv(void *buf_, size_t len_, int flags_ = 0)
2005 {
2006 int nbytes = zmq_recv(_handle, buf_, len_, flags_);
2007 if (nbytes >= 0)
2008 return static_cast<size_t>(nbytes);
2009 if (zmq_errno() == EAGAIN)
2010 return 0;
2011 throw error_t();
2012 }
2013
2014 ZMQ_CPP11_DEPRECATED(
2015 "from 4.3.1, use recv taking a reference to message_t and recv_flags")

Callers 1

multipart_tMethod · 0.85

Calls 1

error_tClass · 0.85

Tested by

no test coverage detected