Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android UDP and TCP socket issue
QtWS25 Last Chance

Android UDP and TCP socket issue

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 722 Views
  • 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 Offline
    R Offline
    RobertLabTeam
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved