Unsolved QT UDP RECEIVE
-
This post is deleted! -
@JonB i checked all pc ethernet setting and embedded platform ethernet setting all are same
-
@swansorter
You are ignoring what @jsulm & I are telling you about UDP. Go read up about it. -
@jsulm our hardware based on udp
-
@swansorter
Then presumably it's intended that receivers (like your app) can miss sent packets, and that's OK?What you should do is find whatever the Linux equivalent of Windows' WireShark is and check what is actually being sent/received where. If you are missing packets it should not be because you are using QT UDP code, any UDP code should miss them.
-
-
@swansorter How to do Qt udp recevie using thread
-
@swansorter said in QT UDP RECEIVE:
I am able to receive all packet using 60 cm cable ,but when i use 180 cm cable not able to receive all the packet
Perhaps the speed of light is too slow in a cable three times as long?
I have to say this does not sound like a Qt issue.... -
@JonB But am able to receive in pc (QT application) with the bothe cable
-
Hi,
You do realize that your target device does not have the same hardware as your desktop machine ?
Therefore, your application can't compensate for weaknesses at the hardware level receptor.
-
@SGaist I checked the hardware.
1.ethernet setting in pc and embedded device Ethernet setting bother are same
100 mbps -
@swansorter The point was that your target device does not have same CPU/RAM power compared to your PC...
-
@jsulm but am getting zero packet loss while doing ping
-
@swansorter So what? Ping does not cause same load as sending bigger amount of data...
As already suggested: use TCP if you need to make sure all packets arrive...