Online Games

Im trying to make a basic online game. I plan to have movement-(i need fast response) and multiple users. Ive made a few games but none online. can you point me in the right direction?
[191 byte] By [ns47731a] at [2007-10-2 7:23:55]
# 1

i was thinking along the lines of maby using a ftp server and putting files on it then other people picking them up..... as a way to send and recive locations of things maby. this may be a little bit slow and tedious but its my best idea.... Im not shure how to connect to a ftp server so if you know how or have a better idea please share

ns47731a at 2007-7-16 21:00:44 > top of Java-index,Other Topics,Java Game Development...
# 2
Are you talking live movement during game(MUD, Ultima, EQ-like, whatever)? if so, look at IO and/or NIO. There is a nice socket tut on this site.
MickeyBa at 2007-7-16 21:00:44 > top of Java-index,Other Topics,Java Game Development...
# 3
ya like a game where you have constant movement (like RGP) unlike a board game (like chess). so you would need to have alot of updating from your connection. thats why i thought that ftp would be slow.
ns47731a at 2007-7-16 21:00:44 > top of Java-index,Other Topics,Java Game Development...
# 4
Yes, definitely look at the socket tutorials
MickeyBa at 2007-7-16 21:00:44 > top of Java-index,Other Topics,Java Game Development...
# 5
thanks i found it
ns47731a at 2007-7-16 21:00:45 > top of Java-index,Other Topics,Java Game Development...
# 6
Look into UDP! (Some companies use TCP which has its advantages and disadvantes.)
DeltaCodera at 2007-7-16 21:00:45 > top of Java-index,Other Topics,Java Game Development...
# 7

FTP as far as I know use TCP and is way to slow for most real-time games.

Possibly some sort of TFTP could be used if your planning to just allow network play(not recommended for online games) since it might be a easy way to use UDP.

But UDP is almost necessary for online games, TCP with all error-corrections and so on is simply to slow, tough you should be aware that UDP isn't the most reliable protocols, just the fastest.

T10a at 2007-7-16 21:00:45 > top of Java-index,Other Topics,Java Game Development...