Pings a server to retrieve basic informations like MOTD, protocol used and online players.
a Server struct with the server's informations or an empty one on failure
client.ping("127.0.0.1"); client.ping("mc.hypixel.net", 25565); client.ping("localhost", dur!"seconds"(1));
See Implementation
Pings a server to retrieve basic informations like MOTD, protocol used and online players.