sendCommand function

bool sendCommand(
  1. String command
)

Send the provided command to the RCON server using the Returns a boolean that specifies if the command was successful.

Implementation

bool sendCommand(String command) {
  // Sends an RCON message with request ID = 2 (command)
  // with the String command as the payload.
  return sendMsg(2, command);
}