ID:1870289
 
(See the best response by Rotem12.)
Is there a simple way to check if there's any BYOND game running over an IP:PORT with other languages, like PHP or Python?

https://github.com/tgstation/tgstation13.org/blob/master/ getserverdata.php
That was the only resource I could find about it and it is next level stuff for me.
Best response
You can either ping an ip or simply open a tcp client.

C#:
        public static bool CheckConnection(string _HostURI, int _PortNumber)
{
try
{
TcpClient client = new TcpClient(_HostURI, _PortNumber);
return true;
}
catch
{
return false;
}
}


I'm not exactly sure what's that php page is supposed to do but if you're only interested in checking if a game is running over a certain IP:PORT simply getting a connection without any errors would do.

Knowing this, the part marked as "/* --- Create a socket and connect it to the server --- */" is most likely containing what you seek in php.

Python is probably similar too.