Network - the X and Y position (fastest way)

Blitz3D Forums/Blitz3D Beginners Area/Network - the X and Y position (fastest way)

H!

I testing things with tcp and udp and everything is working fine but slow.

Now I use this:
If KeyDown(200) then
   send("2|"+y%) ;send it with udp
endif


Then I extract the msg.
the letter 2 is the header so I know the player is going up.
and the player is moving up.
But 1 second later.

What to do ?
Must I use Cubic Spline Interpolation ?
http://www.blitzbasic.com/codearcs/codearcs.php?code=345

But I don't understand how.
Or is there a faster/other way ?

Thanks very Much,
GC-Martijn