Tell if dedicated server is running. Query server

Currently we’re using Open Level to connect to a server. But is there a way to query the server to see if it’s running before we try connecting to it?



If your comfortable with tcp/ip, you could always just use the exposed functions in the engine on the server side, and hook up to a “port”, do your connect (make sure the timeout value is low, or set your own timer to kill waiting around forever). If the tcp/ip connect succeeds, within “N seconds”, your server is up, because your using the tcp/ip functions built into the engine itself. If not, then “all is not well in kansas”. This does not prove that the server is actually down, the players pet dog, could have squatted on the router! but still you can tell the player, that you can’t hook up.

Hope this helps,