diff options
author | Simon Howard | 2006-01-08 04:52:26 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-08 04:52:26 +0000 |
commit | 8df3eb7ce027ec1a73c8fce879ee0d59ac4e49c9 (patch) | |
tree | 3067618f038a0b45ca0dcdadcddf14f44f7b55f8 /src/net_defs.h | |
parent | 0a55e76dc58993267abb4b0cde944f1babecc242 (diff) | |
download | chocolate-doom-8df3eb7ce027ec1a73c8fce879ee0d59ac4e49c9.tar.gz chocolate-doom-8df3eb7ce027ec1a73c8fce879ee0d59ac4e49c9.tar.bz2 chocolate-doom-8df3eb7ce027ec1a73c8fce879ee0d59ac4e49c9.zip |
Allow the server to reject clients
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 268
Diffstat (limited to 'src/net_defs.h')
-rw-r--r-- | src/net_defs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net_defs.h b/src/net_defs.h index cc5658bf..ccaa3a08 100644 --- a/src/net_defs.h +++ b/src/net_defs.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_defs.h 264 2006-01-08 02:53:05Z fraggle $ +// $Id: net_defs.h 268 2006-01-08 04:52:26Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.6 2006/01/08 04:52:26 fraggle +// Allow the server to reject clients +// // Revision 1.5 2006/01/08 02:53:05 fraggle // Send keepalives if the connection is not doing anything else. // Send all packets using a new NET_Conn_SendPacket to support this. @@ -115,6 +118,7 @@ typedef enum { NET_PACKET_TYPE_SYN, NET_PACKET_TYPE_ACK, + NET_PACKET_TYPE_REJECTED, NET_PACKET_TYPE_KEEPALIVE, NET_PACKET_TYPE_WAITING_DATA, NET_PACKET_TYPE_GAMESTART, |