A little reusable piece of code I wrote in D, fetches the status of a minecraft server.