Date: Sat, 18 Feb 2006 00:04:09 +0100 (CET) From: "Arne H. Juul" <arnej@pvv.ntnu.no> To: kurt@intricatesoftware.com Cc: freebsd-java@freebsd.org Subject: Re: SO_REUSEADDR should not also mean SO_REUSEPORT Message-ID: <Pine.LNX.4.62.0602172357530.8209@decibel.pvv.ntnu.no> In-Reply-To: <200602171054.11632.lists@intricatesoftware.com> References: <43F4F22F.1060402@europe.yahoo-inc.com> <200602171054.11632.lists@intricatesoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Feb 2006, Kurt Miller wrote: >> I don't know why this code was put into the bsd jdk patches, it just >> seems plain wrong to me. It makes java subtly non-portable in a very >> strange manner; I suggest this code is removed. Below is the patch >> I'm currently using :-) > > Linux and Solaris don't have SO_REUSEPORT. I believe their > SO_REUSEADDR is equivalent to SO_REUSEADDR + SO_REUSEPORT > on bsd. no, that's not true. SO_REUSEADDR behaves the same on bsd, linux, and solaris. I don't know if there's any way on linux or solaris to get the behaviour that SO_REUSEPORT triggers on FreeBSD. - Arne H. J.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.0602172357530.8209>