Hello, I would like some clarification on whether the following is possible, and if so what I would need to do to set it up.
I am developing a small 2-player game. One player acts as the host and the other player is the client who connects to the host via TCP. In order to avoid the client having to type in the other person's IP address to connect to the host, I thought that I would store the host's IP address in a MySQL table.
Then the players would simply retrieve a list of IP addresses that are currently hosting the game. Then they can simply click on the IP address to join the game.
I thought that I would use a generic username / password that would allow the people playing the game to connect to the MySQL table.
1) Is this possible?
2) If so, what do I need to do within cpanel to set this up?
Thanks for the help.