Multiple Devices on same Host

2006-02-08
2013-05-02
  • daniel.eggert

    daniel.eggert - 2006-02-08

    Should I be able to run more than one device on the same host (same machine, same IP-address).

    I started the Sample Tv, and then the Sample Remote Control, but I can not control the Tv. If I start the Sample Control Point, I only see a root node, nothing else.

    I'm seeing this when i start the second UPnP application:

    CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0xfe03, name = 'java.ServiceProvider'
    See /usr/include/servers/bootstrap_defs.h for the error codes.
    CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)

    which suggests that the second app tries to bind to the same port as the first.

    What should / can I do about this?

    /Daniel

     
    • daniel.eggert

      daniel.eggert - 2006-02-09

      I finally figured out, how to get this working. I had to call

      UPnP.setEnable(UPnP.USE_ONLY_IPV4_ADDR);
      UPnP.setEnable(UPnP.USE_LOOPBACK_ADDR);

      Now it works. Device get giscovered and they can talk to each other.

       
      • Satoshi Konno

        Satoshi Konno - 2006-02-10

        Hi Deniel,

        I changed to disable IPv6 interfaces as default, added the change to the latest CVS source tree today.

        Thanks for your report :-)

         

Log in to post a comment.