#26 server find existing ports

open
None
3
2009-10-01
2009-09-29
jcgvicto
No

If a server 'falls', connections are maintained, but not detected by a new server instance. Is it technically possible for a yarp server to detect existing ports? Is there any reason for this not to be implemented?

Discussion

    • assigned_to: nobody --> eshuy
     
  • jcgvicto
    jcgvicto
    2009-10-01

    Hello, and thank you for your quick reply. Yarpserver3 and --persist option work perfectly on local machine. External connections connect to nameserver (/root). However, connections with or between ports on a machine that is not running the server are not possible (not even nonpersistent). Am I missing some type of command?

     
  • Interesting, can you describe in more detail what happens when you try to make connections between ports on a machine that is not running the server? Sounds like there could be a bug. If you could report the output of running the following commands (from different terminals, on a machine not running the name server) that would be great:
    yarp read /test
    yarp name query /root
    yarp name query /test
    /sbin/ifconfig (or the equivalent for your OS, anything that shows your IP)

     
  • Ok, got things working. Maybe discovered a very minor bug (will post bug section) present in yarp2 too. Yarp3 is looking really good, cheers!

     
  • jcgvicto
    jcgvicto
    2009-10-01

    >> It would also be possible to detect ports via scanning as you suggest. I
    don't know of anyone who has done this.

    Maybe just include a possible feature of passing persistent database to other machines in the network?

     
  • jcgvicto
    jcgvicto
    2009-10-01

    • priority: 5 --> 3