Horizon
zmq_helper.hpp
1 #pragma once
2 #include <zmq.hpp>
3 
4 namespace horizon::zmq_helper {
5 // silly wrappers to dodge warnings about deprecated functions
6 // can't use the non-deprecated functions as they're not available in debian stable
7 bool recv(zmq::socket_t &sock, zmq::message_t &msg);
8 bool send(zmq::socket_t &sock, zmq::message_t &msg);
9 } // namespace horizon::zmq_helper