1 #include "otsdaq-core/NetworkUtilities/UDPDataStreamerBase.h"
2 #include "otsdaq-core/Macros/CoutHeaderMacros.h"
11 UDPDataStreamerBase::UDPDataStreamerBase(std::string IPAddress,
unsigned int port, std::string toIPAddress,
unsigned int toPort)
13 , streamToSocket_ (toIPAddress, toPort)
15 std::cout << __COUT_HDR_FL__ <<
"IPAddress " << IPAddress << std::endl;
16 std::cout << __COUT_HDR_FL__ <<
"port " << port << std::endl;
17 std::cout << __COUT_HDR_FL__ <<
"toIPAddress " << toIPAddress << std::endl;
18 std::cout << __COUT_HDR_FL__ <<
"toPort " << toPort << std::endl;
19 std::cout << __COUT_HDR_FL__ << std::endl;
20 std::cout << __COUT_HDR_FL__ << std::endl;
21 std::cout << __COUT_HDR_FL__ << std::endl;
22 std::cout << __COUT_HDR_FL__ << std::endl;
23 std::cout << __COUT_HDR_FL__ << std::endl;
26 std::cout << __COUT_HDR_FL__ <<
"done!" << std::endl;
30 UDPDataStreamerBase::~UDPDataStreamerBase(
void)