@beginner123:
@Rechard3 yes broadcasting is for local networks only so that won't work for my application |
if your application's gonna be over the internet, you can make a central server that knows about all other servers, when a new server wants to take off, it shall contact the central server to publish the new server ip.
clients shall contact the central server to get a server list, and it can store the last server used.
this approach is somewhat risky, because all types of hackers will try to impersonate a new server, your job is to make this
impossible(
nothing is impossible).
and about that firewall issue, you can make your application use a special port, and the user shall then make a firewall rule to allow this application through this specific port.
this is only a suggestion.
i wrote:
i can see that beginner123 have some experience in networking |
my sincere apologies, you might be of considerable experience in networking.
anyway, this project is really large for a programming beginner, if you're a newbie i suggest you forget about it for now and focus on the basics.