I know the basic ServerSocket, Server classes. Now I am trying to make a card game (which is turned based of course). One of the four players host the game, other 3 join as clients.
What I am having problem with is, a client needs to know the IP of the server to join right? So suppose I want to show the clients a list of available hosts and the players chooses from that list which game they want to join. How do I go about doing it? Do I need a dedicated server for this match making purpose? Isn’t there any other simpler way?