class MCPing::Ping
- MCPing::Ping
- Reference
- Object
Overview
Pings a Minecraft server.
Defined in:
mcping/ping.crConstructors
-
.new(ip : String, port : UInt32 = 25565_u32)
Creates a new pinger.
Instance Method Summary
-
#ping
Sends the ping request.
Constructor Detail
def self.new(ip : String, port : UInt32 = 25565_u32)
#
Creates a new pinger.
Requires the server's domain name or IP address and port number.