Hey everyone.
How would I go about creating a multiplayer lobby? I’m sure I could figure out how to code it if someone could just tell me what actually has to happen behind the scenes. By the way, I’m trying to use TCP, but if you think something else would be better, then please tell me. want to have the options to host a game or to join one. Then you can host a game with certain settings, which would then be sent to any conecting clients, or you could join an existing game by clicking on a game in a list or something and then clicking join. The thing that I can’t figure out is how to get each client to find all the possible games on the network. How would I do this? Is there a way to find all the ServerSockets that are on a network and are waiting to accept a connection, and if I do that, would I have to connect to each of those servers and then only launch the game on the one which I choose to join and disconnect from the rest? Any help would be much appreciated!
James.