Custom timeout time

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

Moderators: Lapo, Bax

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

Custom timeout time

Post by Aceex7 »

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: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Custom timeout time

Post by Lapo »

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
Post Reply