[jcifs] SmbFile: BindException problem while browsingworkgro ups

James Nord teilo at teilo.net
Fri Nov 9 02:41:21 EST 2001


Christopher R. Hertel wrote:

>That's all pretty much a longshot but it sure sounds like symptoms I've
>seen when SO_REUSEADDR isn't set.  
>
>Basically, the idea of SO_REUSEADDR is
>this:  When you close a port the computer at the other end may continue to
>send stuff to you for a little while (until it notices you've closed the
>port).  That in mind, the OS won't give out the same port again for a few
>seconds.  
>
Ermm if I'm not mistaken you're talking about SO_LINGER there...

>You use SO_REUSEADDR to tell the OS that it's okay to re-use that
>port.
>
Yup.







More information about the jcifs mailing list