O
Old and In the Way
Added comp.lang.java.programmer
I'm trying to create a DatagramSocket to send broadcasts, but I'm
getting a
java.net.BindException: Cannot assign requested address: Cannot bind
on the call
udpBcastSocket = new DatagramSocket( oport, InetAddress.getByName
(target) ) ;
Where 'target' is 192.168.0.255
In STFW, descriptions I've seen so far seem to indicate that
DatagramSockets can be used for UDP broadcasts. I have apparently
not yet found the right web page.
I've love to learn what I'm doing wrong.
I'm trying to create a DatagramSocket to send broadcasts, but I'm
getting a
java.net.BindException: Cannot assign requested address: Cannot bind
on the call
udpBcastSocket = new DatagramSocket( oport, InetAddress.getByName
(target) ) ;
Where 'target' is 192.168.0.255
In STFW, descriptions I've seen so far seem to indicate that
DatagramSockets can be used for UDP broadcasts. I have apparently
not yet found the right web page.
I've love to learn what I'm doing wrong.