Why don't they use multicast to send the HELLO packet so often. This assumes, of course, that multicast is available in your scenario and you are not talking in routing domains. Just use the contents of the "HELLO" package, for example, the unicast ipv4 address, so you know what you should talk to. Of course, you do not need to use multicast, you can just send the broadcast to 255.255.255.255, which is not a difficult task, and then listen to these messages. The advantage of this is that you can also allow port negotiations. For example, if your application usually associates with a port, but this port is not available, it can automatically select a port and tell you which port it is bound to. Avoids manual configuration of configuration and headaches. Damn, he can even use the broadcast to send a message and check if he got it. If this is not the case, run a warning informing the system administrator. I use something in these lines to control test harnesses for soft switches (voice) and it works very well. Of course, I could be very on that. Just think about the box here.
source share