[SOLVED]QUdpSocket & broadcast & Windows7
-
I am sending a request (broadcast: 255.255.255.255) by UDP to determine who is where in the network. The program works fine under WinXP, Ubuntu but under Windows7 sent to any address other than broadcast (255.255.255.255). Other programs written in C # and VB work.
-
I doubt that 255.255.255.255 is the broadcast address: Those tend to start with the network address.
-
Maybe you can post some sample code, so that someone with a Win7 box can try it.
Also make sure that neither a firewall nor a virus or malware scanner is in the way. Additionally you might need to have higher privilges for sending broadcasts, but I'm not sure about this, I might be wrong.
According to "QTBUG-13516":https://bugreports.qt.nokia.com//browse/QTBUG-13516 there has been an issue with UDP broadcasts on Vista.
-
Well, you can try Broadcasting sender and receiver example from Qt. If receiver and sender on one machine they work but wireshark didnt see the transmit and other computers on network too. If receiver and sender located on different machines nothing happening.