Datagram sockets: SO_BROADCAST

2003-07-21 Thread Dr. Torsten Rupp
Dear Classpath members, it seems the behaviour of the Classpath implementaiton of datagram sockets and sending broadcast messages is different from the implementation in the Sun JDK API. I detected that the Sun implementation set the socket option SO_BROADCAST for a datagram socket by default.

Re: Datagram sockets: SO_BROADCAST

2003-07-21 Thread Mark Wielaard
Hi, On Mon, 2003-07-21 at 11:51, Dr. Torsten Rupp wrote:By adding setsockopt(...,SO_BROADCASST,...) in the function _javanet_create() is seems to run. Is this modification ok? The 1.4 API doc for java.net.SocketOptions indicates that SO_BROADCAST is set by default for DatagramSockets. This

Re: Datagram sockets: SO_BROADCAST

2003-07-21 Thread Brian Jones
Dr. Torsten Rupp [EMAIL PROTECTED] writes: Dear Classpath members, it seems the behaviour of the Classpath implementaiton of datagram sockets and sending broadcast messages is different from the implementation in the Sun JDK API. I detected that the Sun implementation set the socket option