tFix for Win32 server being able to be run multiple times on the same port - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 331584e9d3de000bbc3ca25e31572987ed404315
 (DIR) parent 55f961b9234678e500c431c4e430e210ff24ee42
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sun,  3 Feb 2002 20:28:28 +0000
       
       Fix for Win32 server being able to be run multiple times on the same port
       
       
       Diffstat:
         M src/serverside.c                    |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/serverside.c b/src/serverside.c
       t@@ -708,7 +708,12 @@ static gboolean StartServer(void) {
             FreeError(sockerr);
             exit(1);
           }
       +
       +/* This doesn't seem to work properly under Win32 */
       +#ifndef CYGWIN
           SetReuse(ListenSock);
       +#endif
       +
           SetBlocking(ListenSock,FALSE);
        
           if (!BindTCPSocket(ListenSock,Port,&sockerr)) {