test_send.cpp
Go to the documentation of this file.
1 
23 #include "udp_bc_broker/send.h"
24 
25 using namespace std;
26 
27 int main()
28 {
29  udp_bc_broker::UdpSender sender(12321);
30 
31  //char *data = new char[100];
32  std::string data = "hello world";
33 
34  while(true) {
35  sender.send(data.c_str(), data.length());
36  sleep (1);
37  }
38 }
void send(const char *msg, int len)
Definition: send.cpp:55
int main()
Definition: test_send.cpp:27


udp_bc_broker
Author(s):
autogenerated on Mon Jun 10 2019 14:02:40