Page 1 of 1

Set client connection timeout in SFS Java Client

Posted: 30 Aug 2021, 05:44
by shahidbits2012
Hi Team,

How can we specify the connection timeout in SFS Java Client?

We are seeing a scenario when a player disconnects because of some reason like "unknown", the client retries to connect to the server. This retry goes on forever. We want the behaviour in which the client connections breaks down and a we retry the again to connect. I thought if we have some kind of socket connect timeout property, that can help here. Please share your thoughts.

Note: The SFS server is up, as other players are connected and they are able to play just fine. Th disconnection is happening for few players only.

Re: Set client connection timeout in SFS Java Client

Posted: 30 Aug 2021, 08:46
by Lapo
Hi,
no it's not possible to use a custom timeout.
We are seeing a scenario when a player disconnects because of some reason like "unknown", the client retries to connect to the server.
How is this done? Via the reconnection system or manually?
Th disconnection is happening for few players only.
Are these clients on mobile?

Thanks