Sending m-search messages on IPv6

  • giordano sassaroli

    Hi all,
    has anybody ever tried to run the platform on a pure ipv6 network? I am trying, but I am getting an error when the Control Point sends the msearch messages on the SSDPSearchResponseSocketList.
    the exception is "Network is unreachable" and it is raised when the send method is called on the DatagramSocket instance.
    Has anybody already found this situation?

    giordano sassaroli

    • inma

      inma - 2003-11-12

               I am testing the examples and I have found the same problem when running the control point on a ipv6 network. Have you find a solution?? I will be very grateful if you could help me.

      Lots of thanks in advance.

    • Satoshi Konno

      Satoshi Konno - 2003-12-15

      I find out the contol point can't send only the IPv6 SSDP message when the socket binds the interface.

      I changed HTTPUSocket::open() as the following and release the package as v1.2.

          public boolean open(String bindAddr, int bindPort)
              try {
                  // Bind only using the port without the interface address. (2003/12/12)
                  InetSocketAddress bindSock = new InetSocketAddress(/*InetAddress.getByName(bindAddr), */ bindPort);
                  ssdpUniSock = new DatagramSocket(null);
              catch (Exception e) {
                  return false;
              return true;

      I checked the problem on Redhat9 with J2SE v1.4.2-b28. Is it a bug of J2SE ?


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks