1 #ifndef _ots_TCPTransmitterSocket_h_
2 #define _ots_TCPTransmitterSocket_h_
6 #include "otsdaq/NetworkUtilities/TCPSocket.h"
19 void send(
char const* buffer, std::size_t size);
20 void send(
const std::string& buffer);
21 void send(
const std::vector<char>& buffer);
24 void send(
const std::vector<T>& buffer)
26 send(reinterpret_cast<const char*>(&buffer.at(0)), buffer.size() *
sizeof(T));
29 void sendPacket(
const std::string& buffer);