Server's zone discovery

Post here all your questions related with SmartFoxServer Java API

Moderators: Bax, Lapo, rjgtav

Posts: 35
Joined: 29 Nov 2009, 11:18

Server's zone discovery

Postby eyal » 07 Dec 2009, 14:03

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

Postby Lapo » 10 Dec 2009, 08:42

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
...addicted to flash games

Return to “Java2SE / Android Client API”

Who is online

Users browsing this forum: No registered users and 2 guests