Custom timeout time

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Aceex7
Posts: 4
Joined: 09 Dec 2019, 07:47

Custom timeout time

Postby Aceex7 » 26 Jul 2020, 12:24

Hi,

Is it possible to change the timeout time that the user waits for a response of a connection to the server?
as of now when I try to establish a connection to the server it takes 20 seconds until it fails (assuming the server is down), then it tries to connect via bluebox for 20 seconds and then fails again.
All I want to do is control the time (in seconds) it takes until it fails, for example: instead of waiting 20 seconds I want to wait 5 seconds until i receive a message that the connection failed. I Use SmartFoxServer 1.6 with Unity

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

Re: Custom timeout time

Postby Lapo » 27 Jul 2020, 07:44

Hi,
sorry it's not possible. The time out depends on the underlying OS TCP stack, which can be different based on which operating system and version you're using.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 39 guests