createSocket function
Creates and stores a socket connected to the RCON server with the given host (IP/FQDN) and port. Port defaults to 25575 if no port is specified.
Implementation
Future<void> createSocket(String host, {int port = 25575}) async {
  // Creates the socket by connecting the socket to the specified
  // host and port.
  rconSck = await Socket.connect(host, port);
}