Neo-X / DistributedSystems

Distributed Systems Project
GNU General Public License v2.0
1 stars 1 forks source link

Join Request in Distributed Server Setting #2

Closed ravjotsingh9 closed 9 years ago

ravjotsingh9 commented 9 years ago

Hey @Neo-X In distributed server setting, to whom should a new joining member send his "join" request?

Neo-X commented 9 years ago

Join requests are my only sent from new clients to the server. It is a request to join the game.

ravjotsingh9 commented 9 years ago

Do you mean the local server ? If so, then where shall the local server forward that request in order to get included in the game ? My concern is how would different servers (local server) know which all servers are there in the game. Do we have any centralized game server (or something) where a new player's computer should connect ?

Neo-X commented 9 years ago

Ahhh,

Technically we would have a seperate server that handles join requests. This server is not simulating the game but would handle things like login verfication. After a player's join request is approved it would be the job of this join server to propogate the registration of the player.

After the player recieves approval of the join it can start sending messages.

The only coding difference would be the reply to a join request can send along the address to the sever it will comunicate with.

ravjotsingh9 commented 9 years ago

ok got it. Thanks!