Main Page
Namespaces
Classes
Files
File List
File Members
src
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
}
udp_bc_broker::UdpSender::send
void send(const char *msg, int len)
Definition:
send.cpp:55
std
send.h
udp_bc_broker::UdpSender
Definition:
send.h:39
main
int main()
Definition:
test_send.cpp:27
udp_bc_broker
Author(s):
autogenerated on Mon Jun 10 2019 14:02:40