joinGroup() method of MulticastSocket is not working under Win 98 and Win 2000

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None
    • beta
    • x86
    • generic, windows_98
    • Verified

      joinGroup() method in MulticastSocket fails under Win 98 and Win 2000 also.

      Tested with the following code.

      public class Mcast1 {

          public static void main(String[] arg) {

              try {
                      MulticastSocket ms = new MulticastSocket();
                      InetAddress iadr = InetAddress.getByName("224.0.0.1");
                      ms.joinGroup(iadr);
                      System.out.println("working....");
                 } catch(Exception exp) {
                      exp.printStackTrace();
                      System.out.println("exp message: " + exp.getMessage());
                 }
          }

      }

      Exception Message:

      java.net.SocketException: set IP_MULTICAST_IF failed (code=10055)
              at java.net.PlainDatagramSocketImpl.join(Native Method)
              at java.net.MulticastSocket.joinGroup(MulticastSocket.java:282)
              at java.net.MulticastSocket.joinGroup(MulticastSocket.java:230)
              at Mcast1.main(Mcast1.java:12)
      exp message: set IP_MULTICAST_IF failed (code=10055)

            Assignee:
            Alan Bateman
            Reporter:
            Venkata Akella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: