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
Forum Updated to NodeBB v4.3 + New Features

Android UDP and TCP socket issue

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 728 Views 1 Watching
  • 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 22 Sept 2018, 16:44 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Sept 2018, 20:18 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

      1/2

      22 Sept 2018, 16:44

      • Login

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