Original Post
Hi. I'm trying to program a multiplayer rts but I'm having a hard time and there aren't many tutorials (at least not that I can find) on this particular topic. I've read the Archers tutorial but I don't understand it. First of all, I could swear Age of Empires used TCP and not UDP. Secondly, how do you "process all messages" for 50 ms without the game lagging horribly? I added a 50ms delay into my loop as a test and it's horrible. What I have so far works fine on a lan but over the internet it lags too much. Is there a comprehensive tutorial on this topic? I've already made a chat server now I want to make a real game!