11 #include <netinet/in.h>
13 #define D2_SOCKBUF_SIZE 8000000
15 #include "daq/dataflow/SocketLib.h"
17 typedef unsigned short u_short;
36 void sock(
int sockid);
39 int get(
char* data,
int len);
40 int read(
char* data,
int len);
41 int put(
char* data,
int len);
42 int put_wordbuf(
int* data,
int len);
43 int write(
char* data,
int len);
63 int reconnect(
int ntry);
65 int put(
char* data,
int len);
66 int write(
char* data,
int len);
67 int get(
char* data,
int len);
68 int get_wordbuf(
int* data,
int len);
69 int read(
char* data,
int len);
74 void sock(
int sockid);
81 struct sockaddr_in m_sa;
Abstract base class for different kinds of events.