Important: Please read the Qt Code of Conduct -

Redundant udp receiver

  • Hi frnds i am new to qt and trying to develop a redundant udp data receiver in qt. There are two udp servers sending data at every 1000ms. I want that by default the receiver should receive the data from serever01 and if within 2s if there is no data available at server01 then it should switch to server02 and start receiving data. How can i implement this in qt. please reply thank u all in advance.

  • Hi.
    Have you try make a simple network app first?
    look at exapmples:
    "qt-5.0 examples-network":
    After studying this you will be able to guess how to solve your problem.

Log in to reply