Server's zone discovery

Post here all your questions related with SmartFoxServer Java API

Moderators: Lapo, Bax

Post Reply
eyal
Posts: 35
Joined: 29 Nov 2009, 11:18

Server's zone discovery

Post by eyal »

Hi,
How can Java client knows wwhich zones are available on a SmartFox server?
Thanks,
Eyal.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

It can't.
Each Zone normally hosts a different application and in general it is not a good idea to let the server publicly supply a list of all running applications, for security reasons.

Normally the Zone name for a client is not dynamic data, in other words it's a constant, something that doesn't change.

If, for any reason, you need to access a list of Zones before logging in you could store these values in an external xml file that the client loads at startup

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply