Go to the documentation of this file. 1 #ifndef DaqSource_DTSpyHelper_h 2 #define DaqSource_DTSpyHelper_h 6 #include <sys/socket.h> 7 #include <netinet/tcp.h> 8 #include <netinet/in.h> 27 struct sockaddr_in clientAddr;
28 struct sockaddr_in myaddr;
40 void Connect(
const char *hostaddr,
int port);
41 void Connect(
unsigned long hostaddr,
int port);
46 int Send(
char * buffer,
int size);
47 int Receive(
char *buffer,
int size);