1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 12:53:34 +02:00

Send initial challenge request as 4 byte int

Closes #79
This commit is contained in:
Pavel Djundik
2015-12-15 15:40:19 +02:00
parent 6d1de4182f
commit 205ad2ec97
+1 -1
View File
@@ -465,7 +465,7 @@
$Header = self::A2S_SERVERQUERY_GETCHALLENGE;
}
$this->Socket->Write( $Header, 0xFFFFFFFF );
$this->Socket->Write( $Header, "\xFF\xFF\xFF\xFF" );
$Buffer = $this->Socket->Read( );
$Type = $Buffer->GetByte( );