1 #ifndef _ots_TransceiverSocket_h_
2 #define _ots_TransceiverSocket_h_
4 #include "otsdaq/NetworkUtilities/ReceiverSocket.h"
5 #include "otsdaq/NetworkUtilities/TransmitterSocket.h"
18 bool verbose =
false);
21 const std::string& sendBuffer,
22 unsigned int timeoutSeconds = 1,
23 unsigned int timeoutUSeconds = 0,
24 bool verbose =
false);
30 std::mutex sendAndReceiveMutex_;
std::string sendAndReceive(Socket &toSocket, const std::string &sendBuffer, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0, bool verbose=false)
int acknowledge(const std::string &buffer, bool verbose=false)
responds to last receive location
defines used also by OtsConfigurationWizardSupervisor