[Kroupware] Patch for kolab script.

Joshua Schmidlkofer menion at asylumwear.com
Thu Apr 17 10:46:57 CEST 2003


I wanted to submit this patch, all it does is add 'ReuseAddr' to kolab
when it bind socket 9999.  I was running into problems when I restarted
kolab w/o anything else.   The socket was not released.

js


p.s  Is this the correct forum for this?


--- kolab.orig  2003-04-17 01:55:17.000000000 -0700
+++ kolab       2003-04-16 04:16:05.000000000 -0700
@@ -648,7 +648,7 @@

 my $kolab_port = 9999;
 $server = IO::Socket::INET->new(
-    LocalPort => $kolab_port, Proto => "tcp", Type => SOCK_STREAM,
LocalAddr => "127.0.0.1", Listen => 10)
+    LocalPort => $kolab_port, Proto => "tcp", ReuseAddr =>1, Type =>
SOCK_STREAM, LocalAddr => "127.0.0.1", Listen => 10)
     || die "Couldn't be a tcp server on port $kolab_port : $@\n";

 dolog("waiting for incoming connection");




More information about the Kroupware mailing list