Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to check server status ?


1izumrud
 Share

Recommended Posts

I hadn't seen EO code for months so my memory of the code is fussy but you can check if the socket is connected by doing this:

```
If Socket.State = sckConnected Then
isOnline = True
Else
isOnline = False
End If
```
Or if you mean check the server status via the website:
http://www.freemmorpgmaker.com/status/index.php

Sincerely,
Rithy
Link to comment
Share on other sites

Then you can still use my code above. Just edit it to make it work.

So like, instead of having isOnline = True, change it to lblStatus.Caption = "Online"
And make sure the name of the winsock is Socket. If it's not, change Socket.State to NameHere.State. I'm not sure what Robin named it.

Sincerely,
Rithy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...