How do i check clientside if the server is up and running ?

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

Moderators: Lapo, Bax

genar
Posts: 137
Joined: 13 Jul 2017, 11:49

How do i check clientside if the server is up and running ?

Postby genar » 16 Jan 2019, 20:02

Good evening,

i need to check client side if the server is up and running... currently i just ping it... but even if the server is restarted of offline... the ping is always sucessfull... what can i do to test clientside if the server is running and if the user can already connect to it ?
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How do i check clientside if the server is up and running ?

Postby Lapo » 17 Jan 2019, 08:15

Hi,
from client side the easiest way to check if the server is up is to connect to it via the API themselves.
Pinging does not tell you if SFS2X is up, only tells you if the machine running SFS2X is up.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
genar
Posts: 137
Joined: 13 Jul 2017, 11:49

Re: How do i check clientside if the server is up and running ?

Postby genar » 19 Jan 2019, 21:08

Lapo wrote:Hi,
from client side the easiest way to check if the server is up is to connect to it via the API themselves.
Pinging does not tell you if SFS2X if the server is up, only tells you if the machine running SFS2X is up.

Cheers


Alright, thanks !

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 59 guests