I have a problem with receiving UDP broadcast data with my C# application.
Here's the scenario:
I have a device that sends out a UDP broadcast to IP address 255.255.255.255. This device is connected to a WiFi router.
On my PC, I have two network connections: One WiFi connection that is connected to the WiFi router and one LAN connection that is connected to the main network.
The WiFi router has DHCP enabled and uses the IP range: 192.168.1.x (Directed broadcast would be 192.168.1.255 here)
The main network has DHCP enabled and uses the IP range: 192.168.0.x (Directed broadcast would be 192.168.0.255 here)
I can receive the broadcast data with the Wireshark application.
My question is: Does the broadcasted data sent by the device arrive at both subnets? What is wrong with my application: Why can't it receive the broadcast data while Wireshark can?
Thanks in advance.
View Complete Post