bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/35520] Server socket port kept bound even after the VM en


From: kaz at maczuka dot gcd dot org
Subject: [Bug classpath/35520] Server socket port kept bound even after the VM ends
Date: 10 Mar 2008 10:17:26 -0000


------- Comment #2 from kaz at maczuka dot gcd dot org  2008-03-10 10:17 -------
> But how about Sun's JDK?  Tests show that it behaves as though
> the SO_REUSEADDR option were used, even if we explicitly use
> setReuseAddress(false).

This strange behavior of JDK seems to be specific to Windows platform.

Sun's bug database says somthing related to this problem.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4476378

According to this page, SO_REUSEADDR is enabled by default
on Solaris and Linux.

If so, GNU Classpath should also enable SO_REUSEADDR for ServerSocket.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35520





reply via email to

[Prev in Thread] Current Thread [Next in Thread]