[Kroupware] Patch for kolab script.

Stephan Buys s.buys at icon.co.za
Fri Apr 18 10:33:35 CEST 2003


Hi Joshua,

This is the right forum :-) (Here we do everything)

Regards,
Stephan

On Thursday 17 April 2003 18:46, Joshua Schmidlkofer wrote:
> 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");
>
>
> _______________________________________________
> Kroupware mailing list
> Kroupware at mail.kde.org
> http://mail.kde.org/mailman/listinfo/kroupware



More information about the Kroupware mailing list