I'm attempting to do a UDP broadcast using my MCF52235EVB. My PC is setup with IP address 220.127.116.11, subnet 255.255.0.0. In the "main.c" file i set my board's IP to 18.104.22.168 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 22.214.171.124, 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 126.96.36.199?". So basically my PC thinks that 188.8.131.52 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.