How to construct my multilayer mode for my Delphi game? For For LAN iI use UDP server/client.
But for internet I think UDP is useless i think.
I have in mind something like:
- The host create SQL database and store the game data.
- The clients connect via TCP/IP and sent requests in that database to get current state of the game.
Or is there a better option for internet multilayermultiplayer?
I ask as general question.
BTW i use Delphi.