test_send.cpp
Go to the documentation of this file.
00001 
00023 #include "udp_bc_broker/send.h"
00024 
00025 using namespace std;
00026 
00027 int main()
00028 {
00029     udp_bc_broker::UdpSender sender(12321);
00030 
00031     //char *data = new char[100];
00032     std::string data = "hello world";
00033 
00034     while(true) {
00035         sender.send(data.c_str(), data.length());
00036         sleep (1);
00037     }
00038 }


udp_bc_broker
Author(s):
autogenerated on Thu Jun 6 2019 18:52:50