Send initial challenge request as 4 byte int

Closes #79
pull/94/head
Pavel Djundik 9 years ago
parent 6d1de4182f
commit 205ad2ec97

@ -465,7 +465,7 @@
$Header = self::A2S_SERVERQUERY_GETCHALLENGE; $Header = self::A2S_SERVERQUERY_GETCHALLENGE;
} }
$this->Socket->Write( $Header, 0xFFFFFFFF ); $this->Socket->Write( $Header, "\xFF\xFF\xFF\xFF" );
$Buffer = $this->Socket->Read( ); $Buffer = $this->Socket->Read( );
$Type = $Buffer->GetByte( ); $Type = $Buffer->GetByte( );

Loading…
Cancel
Save