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

Comparing deliantra/server/include/network.h (file contents):
Revision 1.16 by root, Sun Jul 29 02:24:34 2007 UTC vs.
Revision 1.17 by root, Sun Jul 29 19:11:47 2007 UTC

45 45
46#include <cstdarg> 46#include <cstdarg>
47 47
48/* Maximum size of any packet we expect. 48/* Maximum size of any packet we expect.
49 * 49 *
50 * The size must be the same in the server and the client (stupid), and its also NOT 50 * The size must be the same in the server and the client (stupid).
51 * the maximum buffer size as one would expect, but the maximum buffer size + 1. 51 * TODO: make the actual network configurable per clietn and use 2**16.
52 */ 52 */
53#define MAXSOCKBUF 10240 53#define MAXSOCKBUF 10239
54 54
55#define CS_QUERY_YESNO 0x1 /* Yes/no question */ 55#define CS_QUERY_YESNO 0x1 /* Yes/no question */
56#define CS_QUERY_SINGLECHAR 0x2 /* Single character response expected */ 56#define CS_QUERY_SINGLECHAR 0x2 /* Single character response expected */
57#define CS_QUERY_HIDEINPUT 0x4 /* Hide input being entered */ 57#define CS_QUERY_HIDEINPUT 0x4 /* Hide input being entered */
58 58

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines