It seems like 1.2 pre1 cannot do UDP broadcasts. DatagramSocket.send
throws permission denied if broadcast address is specified. I 
looked at the kernel source (I use 2.0.36) and it looks like 
before broadcasting is allowed SO_BROADCAST socket option needs to be
set on the socket. jdk 1.2 on NT dows not have this problem.

Cheers,

Alex

PS: To java porting team, thanks for the 1.2 release


---------------------------------------------------------------------------
  Alex Harin, PhD           Universal Computer Services
  Tel  +27 11 339-6111      PO Box 31266 Braamfontein 2017, South Africa
  Cell +27 82 900-4779      20th Floor, Total House, Smit St, Braamfontein 
  Fax  +27 11 339-3421      Johannesburg, South Africa
  [EMAIL PROTECTED] ********** http://www.ucs.co.za ****************************



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to