Minor temporary changes
authorMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 9 Sep 2015 23:22:59 +0000 (23:22 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Wed, 9 Sep 2015 23:22:59 +0000 (23:22 +0000)
mmsoftware/mystic_ships/server/src/client.c
mmsoftware/mystic_ships/server/src/conf.h

index f4bb56e..132fbc3 100644 (file)
@@ -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)
index 9786aea..36cc7f9 100644 (file)
@@ -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