3 --- src/NetConnection.h.orig 2004-11-08 14:44:19.318981000 +0000
4 +++ src/NetConnection.h 2004-11-08 14:44:42.403907000 +0000
6 void ready_for_input(bool);
7 int get_fd() const { return fd; }
9 + enum { MAXMSGSIZE = PATH_MAX + 40 };
13 virtual bool input_msg(const char *data, unsigned nbytes) = 0;
18 - enum { MAXMSGSIZE = PATH_MAX + 40 };
19 typedef u_int32_t Length;
20 typedef struct msgList_s {
21 char msg[MAXMSGSIZE+5]; // + 4 for 32-bit length, + 1 for overflow