From: Matthew Mondor Date: Wed, 9 Sep 2015 23:22:59 +0000 (+0000) Subject: Minor temporary changes X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=8a7a8056c158618671118cbe244b9b6c3532b4b1;p=mmondor.git Minor temporary changes --- diff --git a/mmsoftware/mystic_ships/server/src/client.c b/mmsoftware/mystic_ships/server/src/client.c index f4bb56e..132fbc3 100644 --- a/mmsoftware/mystic_ships/server/src/client.c +++ b/mmsoftware/mystic_ships/server/src/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.8 2014/07/01 11:12:51 mmondor Exp $ */ +/* $Id: client.c,v 1.9 2015/09/09 23:22:59 mmondor Exp $ */ /* * Copyright (c) 2006, Matthew Mondor @@ -177,6 +177,8 @@ client_destroy_marked(void) * Runs through list of clients and verify if the number of received packets * exceeds zero, unless the client was too recently created. Those with input * timeout are to be destroyed. + * XXX We actually need a session establishment timeout, and a session input + * timeout. */ void client_timeout(void) diff --git a/mmsoftware/mystic_ships/server/src/conf.h b/mmsoftware/mystic_ships/server/src/conf.h index 9786aea..36cc7f9 100644 --- a/mmsoftware/mystic_ships/server/src/conf.h +++ b/mmsoftware/mystic_ships/server/src/conf.h @@ -1,4 +1,4 @@ -/* $Id: conf.h,v 1.3 2014/06/26 03:46:37 mmondor Exp $ */ +/* $Id: conf.h,v 1.4 2015/09/09 23:22:59 mmondor Exp $ */ /* * Copyright (c) 2006, Matthew Mondor @@ -19,7 +19,8 @@ #define FPS 20 #define FPS_MS (1000 / FPS) -#define TIMEOUT_SECONDS 900 +/*#define TIMEOUT_SECONDS 900*/ +#define TIMEOUT_SECONDS 21600 #define WORLD_X_MAX 1024 #define WORLD_Y_MAX 768