I run the client application on my machine with Windows 7, it sends a UDP message to another server on the local subnet, and then responds to the server with the UDP broadcast message with the address 192.168.1.255. The strange thing is that my client application on Windows cannot receive the message. I tried to let the server send a unicast message directly to the ip of my Windows machine 192.168.1.8, then the client can receive it. I tracked the message using WireShark and I see the IP packet sent to "192.168.1.255", but my application cannot receive it.
Therefore, I believe that Windows 7 blocks the broadcast message on the subnet network. I disabled the windows firewall, but it still does not work.
I am pretty sure this is a windows problem, I run the same code on a different Linux machine on the same subnet, it works well.
Can someone help me solve this problem? Many thanks.
source
share