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

Rename some variables for clarity

This commit is contained in:
Pavel Djundik
2015-10-22 11:58:33 +03:00
parent 8b475d2649
commit 2bbe339458
5 changed files with 17 additions and 23 deletions
+3 -3
View File
@@ -35,14 +35,14 @@
}
}
public function Open( $Ip, $Port, $Timeout, $Engine )
public function Open( $Address, $Port, $Timeout, $Engine )
{
$this->Timeout = $Timeout;
$this->Engine = $Engine;
$this->Port = $Port;
$this->Ip = $Ip;
$this->Address = $Address;
$this->Socket = @FSockOpen( 'udp://' . $Ip, $Port, $ErrNo, $ErrStr, $Timeout );
$this->Socket = @FSockOpen( 'udp://' . $Address, $Port, $ErrNo, $ErrStr, $Timeout );
if( $ErrNo || $this->Socket === false )
{