Time to connect to BlueBox

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

Post Reply
Dmitry_Sobolev
Posts: 1
Joined: 02 Jun 2009, 10:03
Contact:

Time to connect to BlueBox

Post by Dmitry_Sobolev »

Hello everybody!

When the connection is via Socket impossible, SmartFoxServer receives an error and trying to connect via the BlueBox.
It takes about 20 seconds.
How to reduce the waiting time before connecting via BlueBox?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Socket timeout is normally detected in 6-12 seconds, however there isn't a direct way to control it. The Actionscript Socket object might take more time to report a failure for reasons that are not under direct control, so there's not much we can do about it.

Providing visual informations that invites the user to wait as the application finds the best way to connect is probably a good idea.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply