Currently, I have a static setup between Server and Clients. Server IP is hardcoded into the configuration file, so that clients connect to the server using this configuration file. In our network there are many server machines that can serve these clients and balance the load.
I am new to Python network programming and Pythin newbie as well. I would like some suggestions in this regard.
1) Broadcast message to the network.
2) Servers respond with a message 'Server'
3) Add the Servers IP to the list of "Server IP List"
4) Make the clients target the Server on round robin or list connected clients first.
If you have any alternative ideas in this regard, it would helpful. Current situation is, We have a server.config file which has server IP and port, the clients use this to connect to the root. I want to make this server.config as dynamic .
your help in this regard would be much appreciated.