request / list game servers

hello, I am using winsock in my signed applet games and want a way for the client to request the ip address of all game hosts online somehow. How can I do this?
thanks, roland

I am not quite sure how your game works, but generally for a game that can connect to multiple game servers you should program some sort of master server. A login server could verify the users log-in as the first packet, handle character creation. Then it could handle character creation for the second packet. If the user is authenticated through the login server, it could send a list of all game servers registered under the login server. You could wrap a GUI around these values. You may want to push a queue when the user is authenticated to these game servers assuring that only those who have been authenticated can connect. Again, I am not sure if this is the kind of answer you are looking for, but I tried. :stuck_out_tongue:

One thing I did at one time was when my game lauched, it wrote to a mysqldatabase showing that a game was in progress so people could view what games were running by viewing the webpage which used php to query the database. When a user clicked on one of the games to join it, a client app was launched with php feeding the game the required parameters.

Its one approach :slight_smile:

wow, thank you both. You have given me very good ideas on what to do :slight_smile: