I'm attempting to do a UDP broadcast using my MCF52235EVB. My PC is setup with IP address 18.104.22.168, subnet 255.255.0.0. In the "main.c" file i set my board's IP to 22.214.171.124 and subnet to 255.255.0.0.
I then played around with the "freescale_UDP_client.c" file to send UDP packets to my PC. it works fine if i set my send address to that of my PC. but what i want to do is send packets to any PC with IP 100.1.3.x. To do this i set my send address to 126.96.36.199, but now my PC cannot see the packets.
I ran Wireshark (network monitoring software) and found that my PC can see the packets but keeps asking "who is 188.8.131.52?". So basically my PC thinks that 184.108.40.206 is a specific PC's address and not a broadcast.
What changes to the Interniche code do i have to make to be able to broadcast UDP packets to any PC with address 100.1.3.x?
I have attached both files. Any help or input would be greatly appreciated, thank you.