I have a WIZ120SR (2 serial ports; FW:1.3; IP:192.168.1.152) Evaluation Kit, connected via ethernet to a PC on the
same subnet (192.168.1.123) IP Mask in all cases was (255.255.255.0)
The ports are configured for 9600 baud 8N1, UDP.
Port numbers are 62001, 62002, both local & remote ports are set to the same port number.
If I set the Remote IP’s for each port to the PC’s IP address (192.168.1.123) everything works reliably, and I can see the data on both ports.
I would like to use the broadcast address on each of these ports, mainly so the user doesn’t need to worry about IP addresses and just needs to monitor the ports & so the IP doesn’t need to be specifically configured by them, since they may not understand Networking.
I set up the first port on the card to the Broadcast address of “192.168.1.255” with different port numbers 62001 & 62002 (still pointing at 192.168.1.123). Both ports are received OK at the PC.
I then set the second port of each card to the Broadcast address of “192.168.1.255”, the port reception then became erratic on the PC (@192.168.1.123) with the data seeming to be scrambled.
Since the ports are different I would have thought there wouldn’t be any reason why this wouldn’t work, since the requests would be in different packets, can anyone see what I am doing wrong, or is this somehow something that shouldn’t work?