Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QUdpSocket doesn't work if connected directly to another device (or through switch).

$
0
0
I have a device that sends out a UDP datagram once a second (broadcast). If I am connected through the entire network, I receive the datagrams fine, but if I am connected directly, or through a switch that isn’t connected to the network, then I no longer receive the datagrams. If I then send a datagram from the Qt application to the device, I then receive the status datagrams for 4-6 seconds, and then it goes dark again. I have run wireshark, and the computer is receiving the datagrams, they just aren’t making it through to QUdpSocket for some reason. Any ideas?

Viewing all articles
Browse latest Browse all 18427

Trending Articles