Minecraft wiki entry for Classic_server_protocol, associated text: The simplest way to send a heartbeat is to open a TCP socket to port 80 on minecraft.net, and send the following (with the values changed, obviously):