Game Development Community

client/server

by Jake london · in Torque Developer Network · 08/11/2009 (12:00 pm) · 1 replies

I'm in the process of seperating client/server. Having said that, to my understanding, the first thing to do is create a master server in whatever language - this will maintain the list of available game servers and return the list to the client upon request. My intention is to code the master server in c# as that is where my knowledge is...
... now ... can someone please explain what object do i have to pass to the client? what data structure is the client expecting the list to be in?

P.S. So basically the role of a master server is just this right? maintains list of game servers, bans, filtering.


Your help is much appreciated!!

#1
08/11/2009 (12:15 pm)
I'm not exactly sure what sort of information is passed to the client, however here are a few links that may be helpful. They are example master servers written in a variety of languages.

C++ www.garagegames.com/community/resources/view/12801
Perl: www.garagegames.com/community/resources/view/5962
PHP: www.garagegames.com/community/resources/view/14857
Python: www.garagegames.com/community/resources/view/14666
Python: www.garagegames.com/community/resources/view/14688