close function
Closes the socket to the RCON server. Returns a bool that specified whether the socket was successfully destroyed.
Implementation
bool close() {
if (rconSck == null) {
return false;
}
rconSck!.destroy();
return true;
}
Closes the socket to the RCON server. Returns a bool that specified whether the socket was successfully destroyed.
bool close() {
if (rconSck == null) {
return false;
}
rconSck!.destroy();
return true;
}