longer term, you could also consider trying some QtNetwork usage to poke common port(s) to try find the right ones etc I guess as a nice generic detection fallback. not important now though :)