The 1.4 API doc for java.net.SocketOptions indicates that SO_BROADCAST is set by default for DatagramSockets.
This also seems to be what libgcj does. http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/libjava/java/net/natPlainDatagramSocketImplPosix.cc?rev=HEAD&content-type=text/vnd.viewcvs-markup
So please add it and please also update out documentation of DatagramSocket.get/setBroadcast() to say that it is on by default.
Thank you for the information. I will add the changes I did.
Sincerely,
Torsten
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath