otsdaq  v2_05_02_indev
TransceiverSocket.h
1 #ifndef _ots_TransceiverSocket_h_
2 #define _ots_TransceiverSocket_h_
3 
4 #include "otsdaq/NetworkUtilities/ReceiverSocket.h"
5 #include "otsdaq/NetworkUtilities/TransmitterSocket.h"
6 
7 #include <string>
8 
9 namespace ots
10 {
12 {
13  public:
14  TransceiverSocket(std::string IPAddress, unsigned int port = 0);
15  virtual ~TransceiverSocket(void);
16 
17  int acknowledge(const std::string& buffer,
18  bool verbose = false); // responds to last receive location
19  protected:
20  TransceiverSocket(void);
21 };
22 
23 } // namespace ots
24 
25 #endif