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