Connection SmartFox with different port

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
ekrem5353
Posts: 118
Joined: 10 Dec 2015, 15:50

Connection SmartFox with different port

Postby ekrem5353 » 20 May 2020, 12:45

Hi,

We will buy another copy of Smartfox . We will use different port for another instance. When client can not connect to other port for example 9935, it goes and connects to other server with port 9933. Can we shut off this features.
Client.Connect(new ConfigData
{
Debug = false,
Host = host,
Port = port,
Zone = zone
});
So when it can not connect it would not connect to server with port 9933

Thanks
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Connection SmartFox with different port

Postby Lapo » 20 May 2020, 17:51

Hi,
sorry I am not sure what feature you want to shut off.

There isn't a feature in the SmartFox client API that automatically attempts another server. This would be done by your client side code, so it's up to you to decide what to do when the first connection attempt fails.

Maybe you can clarify what exactly is the problem?
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 61 guests