Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android UDP and TCP socket issue



  • Hi guys,
    My application connects to Qt server on embedded linux device. I have iOS and Android apps. iOS app works pretty well, but Android has weird problems to establish connection and I need to restart phone wifi settings to be able to reconnect. I use UDP(broadcast) to find my device and get IP address, once it is done I use UDP or TCP (if UPD failed). It works well for several hours, but after about day I can't connect and the problem is my phone. It looks like UDP and TCP connection were locked in some way. Some tips?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What version of Qt are you using ?
    What version of Android is proving problematic ?
    Did you test that on different versions of Android ?
    Did you test that on different device with the same version of Android ?


Log in to reply