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