Hi I´m new to the forum but I have hanged around here for some time now, getting some inspiration and help. I´ve recently started with implementing some network code into my game-project with the INDY tcp components.

I´ve managed to get a simple server-client dataflow, but if the client isnt running at the same computer as the server, the dataflow gets to slow and results in making the game sluggish for the client. I realize it is because I´m sending every variable by themself and send around 100 times per second.

The basic setup that I want to work is just sending player cordinates in a 2d game with a decent fast rate.

So my question is if someone could tell my how to write a good network code for a realtime network game with INDY and what i should think about when im writing the network code. I´m using Delphi 7.

I should point out that I´m more or less a beginner at advanced pascal.

Thanks for any help!