This problem is very likely related to this:
You need to check if your kernel and your network interface is multicast
capable.
Your kernel needs to be compiled with the option 'CONFIG_IP_MULTICAST=y'.
And your kernel should be at least a 2.0.x version if you didn't patch it.
Check your network interface configuration with 'ifconfig'. For every
multicast capable interface it displays the flag 'MULTICAST'.
Check your /etc/route.conf file. The multicast route must be set to
something like this if you want to use multicast on eth0:
224.0.0.0 0.0.0.0 240.0.0.0 eth0
If all of this is ok it should work.
Rudi
-----Original Message-----
From: Wright Robert B Civ 96 CG/SCWDE <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Friday, September 10, 1999 6:37 AM
Subject: mutlicast sockets
>i'm getting a "java.net.SocketException: No such device" when executing
this
>code:
>
>MulticastSocket socket = new MulticastSocket(4444);
>InetAddress address = InetAddress.getByName("230.0.0.1");
>socket.joinGroup(address);
>
>through jdb i discovered that the joinGroup method is throwing the
>exception. i may not have my linux box configured correctly. any ideas?
>
>thanks,
>
>rob
>
>
>
>----------------------------------------------------------------------
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]