From 58656316f7e115a321a155f905b2daaefcde537d Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 2 Jan 2006 21:04:10 +0000 Subject: Create NET_SV_Shutdown function to shut down the server. Call it when quitting the game. Print the IP of the server correctly when connecting. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 250 --- src/net_server.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/net_server.h') diff --git a/src/net_server.h b/src/net_server.h index 21922919..81eaf4a4 100644 --- a/src/net_server.h +++ b/src/net_server.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_server.h 239 2006-01-02 00:00:08Z fraggle $ +// $Id: net_server.h 250 2006-01-02 21:04:10Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,11 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.3 2006/01/02 21:04:10 fraggle +// Create NET_SV_Shutdown function to shut down the server. Call it +// when quitting the game. Print the IP of the server correctly when +// connecting. +// // Revision 1.2 2006/01/02 00:00:08 fraggle // Neater prefixes: NET_Client -> NET_CL_. NET_Server -> NET_SV_. // @@ -43,5 +48,10 @@ void NET_SV_Init(void); void NET_SV_Run(void); +// Shut down the server +// Blocks until all clients disconnect, or until a 5 second timeout + +void NET_SV_Shutdown(void); + #endif /* #ifndef NET_SERVER_H */ -- cgit v1.2.3