HoverRace / HoverRace

An open-source 3D racing game
http://www.hoverrace.com/
Other
29 stars 8 forks source link

Dedicated server #162

Open ZoogieZork opened 12 years ago

ZoogieZork commented 12 years ago

Ticket #145 details that the networking code needs to be rewritten totally.

This includes the writing of a dedicated server that can, among other things, route packets for users behind a firewall. But the model of the game architecture needs to be changed too. Instead of one client acting as the "server" and hosting the game, this dedicated server should perform that task. Therefore the clients will communicate with both each other and this server, and the server will take care of communication with the score servers and such.

This server should be able to

ZoogieZork commented 12 years ago

Author: ryan Use new Dedicated Server component, and new version, and update tickets that this is blocking.

ZoogieZork commented 12 years ago

Author: ryan boost::asio (asynchronous I/O) can be used for the low-level network coding, which will make portability simple.

ZoogieZork commented 12 years ago

Author: ryan Designed communication structure between clients and server (attached). It says TCP but it'll likely be the exact same thing for UDP too, the communication sequence should be protocol independent.