Guest User

Untitled

a guest
Jul 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. static bool s_send(zmq::socket_t & socket, const std::string & string)
  2.  
  3. zmq::socket_t* prt_publisher_socket;
  4. zmq::socket_t publisher_socket(context, ZMQ_REP);
  5.  
  6. prt_analysis_socket = &publisher_socket;
  7. s_send(*prt_publisher_socket, "testing...");
  8.  
  9. zmq::socket_t & socket
  10.  
  11. zmq::socket_t analysis_socket(context, ZMQ_REP);
  12. s_send(analysis_socket, "testing...");
Add Comment
Please, Sign In to add comment