Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThank you all for your suggestions.
In the end I have decided on a UDP message solution. My client at startup can now be prompted by the user to send out a small UDP broadcast packet on a known port. Any server of mine on the network will then report back its identity and the IP address is revealed :-) The server code has been modified so that the server listens for the broadcast message in the same loop as it is waiting for a connection, which seems to work quite nicely. Thanks again for the help.