Re: bind() allowed to non-local addresses

From: David S. Miller (davem@redhat.com)
Date: Thu Oct 19 2000 - 12:45:02 EST


   Date: Thu, 19 Oct 2000 11:35:12 -0600
   From: Matt Peterson <mpeterson@calderasystems.com>

   Don't you find it a little compelling that the nearly identical JVM
   code passes the Java Compatibility test suite on Linux 2.2,
   Solaris, HPUX, SCO, and even Windows?

He is arguing that returning an error for a non-local address being
sent to bind() is an implementation dependency and should not be
something JRE absolutely requires. It is a dark corner of the BSD
socket API and not written in stone anywhere, therefore it is bad
to create a dependency upon it.

To this I agree, but I cannot change the fact that this assumption
does exist in applications, so this is why I reverted the change.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:15 EST