ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/newserver.h
(Generate patch)

Comparing deliantra/server/include/newserver.h (file contents):
Revision 1.23 by root, Thu Dec 14 05:09:32 2006 UTC vs.
Revision 1.24 by root, Thu Dec 14 20:39:54 2006 UTC

149 149
150 /* If we get an incomplete packet, this is used to hold the data. */ 150 /* If we get an incomplete packet, this is used to hold the data. */
151 uint8 inbuf[MAXSOCKBUF]; 151 uint8 inbuf[MAXSOCKBUF];
152 player *pl;//TODO should not be here, preferably 152 player *pl;//TODO should not be here, preferably
153 153
154 iow socket_ev; void socket_cb (iow &w, int got);
155
154 client_socket (int fd, const char *from_ip); 156 client_socket (int fd, const char *from_ip);
155 ~client_socket (); 157 ~client_socket ();
156 158
157 int read_packet (); // returns length of packet or 0 159 int read_packet (); // returns length of packet or 0
158 void skip_packet (int len); // we have processed the packet, skip it 160 void skip_packet (int len); // we have processed the packet, skip it

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines