Hi, I would like my programme to check if a game server is running (online). The game uses a UDP port i would like to check. Any help great thanks :)
Printable View
Hi, I would like my programme to check if a game server is running (online). The game uses a UDP port i would like to check. Any help great thanks :)
Can't you just PING it to see if it is online?
Ping would tell you if the server is online or not but not necessarily whether or not the game was running...I would try connecting to the specified port with winsock if there is the possibility of the game not running when the server is online.
Find out how the server communicates with the client and let your program emulate some of this.
Look for how the game looks for servers, how the server advertises it's presence and how a client makes first contact with the server.