of course it does support it !
i run a similar PHP class for SOURCE ENGINE games and it works perfectly
the only obvious difference between the 2 RCON CLASS is one is using UDP:// and the other TCP://
i run a similar PHP class for SOURCE ENGINE games and it works perfectly
PHP Code:
function rcon_command($ip, $port, $password)
{
$ip = $_POST["ip"];
$port = $_POST["port"];
$password = $_POST["rcon"];
$requestId = 1;
$s2 = '';
$socket = @fsockopen ('tcp://'.$ip, $port, $errno, $errstr, 15);
if (!$socket)
return 0;
$data = pack("VV", $requestId, SERVERDATA_AUTH).$password.chr(0).$s2.chr(0);
$data = pack("V",strlen($data)).$data;
fwrite ($socket, $data, strlen($data));
................
the only obvious difference between the 2 RCON CLASS is one is using UDP:// and the other TCP://