Shorthand for send(MCRconPacket.Command, command)
Connects to host:port and creates a new socket.
Disconnects from the server.
Shorthand for send(MCRconPacket.Login, password)
Sends a packet containing data with packetID as ID and returns the data synchronously.
Returns if still connected to the server.
Rcon class for connections.