Unsolved Android UDP and TCP socket issue
RobertLabTeam last edited by
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?
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 ?