class

MCPing::Ping

Inherits Reference < Object

Pings a Minecraft server.

Constructors

new(ip : String, port : UInt32 = 25565_u32)

Creates a new pinger.

Requires the server's domain name or IP address and port number.

Source

Instance methods

ping

Sends the ping request.

TODO: Options for changing the timeouts from 2 seconds.

Source

Nested types