11#include <netinet/in.h>
13#define D2_SOCKBUF_SIZE 8000000
15#include "daq/dataflow/SocketLib.h"
17typedef 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);
62 int reconnect(
int ntry);
64 int put(
char* data,
int len);
65 int write(
char* data,
int len);
66 int get(
char* data,
int len);
67 int get_wordbuf(
int* data,
int len);
68 int read(
char* data,
int len);
73 void sock(
int sockid);
80 struct sockaddr_in m_sa;
Abstract base class for different kinds of events.