Page 1 of 1

Server's zone discovery

Posted: 07 Dec 2009, 14:03
by eyal
Hi,
How can Java client knows wwhich zones are available on a SmartFox server?
Thanks,
Eyal.

Posted: 10 Dec 2009, 08:42
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