Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Android UDP and TCP socket issue

    Mobile and Embedded
    2
    2
    559
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RobertLabTeam last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post