From 8df3eb7ce027ec1a73c8fce879ee0d59ac4e49c9 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 8 Jan 2006 04:52:26 +0000 Subject: Allow the server to reject clients Subversion-branch: /trunk/chocolate-doom Subversion-revision: 268 --- src/net_defs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/net_defs.h') 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, -- cgit v1.2.3