Description
I am currently trying to publish timestamps on the raspberry pi and subscribe to them on my windows based PC. For this, I connected BOTH the Raspberry Pi and the Windows PC to a Switch. So, if I start the publish sample on the Raspberry Pi, I can already see the incoming UDP multicast packages in Wireshark on my Windows PC. So theoretically, the subscribe application also should be able to receive the packages and print them out to the console. But that is not the case. The subscribe sample does NOT print out any timestamps to the console which means, it does not receive any UDP multicast packages. Why is that? If I run both the publish and subscribe sample on the windows PC, it works...
I may have one clue what the problem could be: If I run both publish/subscribe samples on my windows pc, they both print out in the console, that they are listening opc.tcp://mypc:4801/ But when I run the publish sample on the raspi it says, it is listening on opc.tcp://raspberrypi:4840/ but the subscribe sample is still listening on opc.tcp://mypc:4801/ .
Any suggestions? Could the firewall be the problem here? Any advice is highly appreciated!!
Additional Informations
In the following image, you can see the IP address of the raspberry pi:
Below you can see the transmitted UDP multicast packages in Wireshark. They do indeed came from the raspberry pi because the IP addresses match: