Open avilleret opened 8 years ago
I would say this is only possible if we introduce bonjour but I add @jcelerier to confirm. and if it is the case I remember that we discussed at Cnam that is a huge task. it have been possible to introduce bonjour into i-score thanks to Qt library toolkit but we can't base Jamoma on such library cause of licence issues.
ha ok, actually I have a lots of network communication troubles but not only with JamomaMax, but I'll double check them before posting bug report :-D
I don't think that bonjour handles this, it does not maintain a connection at all. If I remember correctly, the Bonjour server is basically a field registered on the local DNS table of your router and for instance if the server goes offline abruptly there is a good chance that it will still be visible in the network a few minutes after its premature ending so it would not be very reliable.
I think that the only reliable way would be to have a regular ping to the server with a timeout - sadly there is no magic in networking :(
Jean-Michaël
On Wed, Dec 2, 2015 at 1:19 PM, Antoine Villeret notifications@github.com wrote:
ha ok, actually I have a lots of network communication troubles but not only with JamomaMax, but I'll double check them before posting bug report :-D
— Reply to this email directly or view it on GitHub https://github.com/jamoma/JamomaMax/issues/975#issuecomment-161275443.
how can I know that my distant application disappear ? and even more important when it reconnect ? so that I can automate reconnecting and namespace discovery