mirror of
https://github.com/YGGverse/hl-php.git
synced 2025-02-06 03:34:17 +00:00
add socket validation
This commit is contained in:
parent
cd22acf846
commit
49c5c76908
@ -19,10 +19,13 @@ class Master
|
|||||||
$port
|
$port
|
||||||
);
|
);
|
||||||
|
|
||||||
stream_set_timeout(
|
if ($this->_socket)
|
||||||
$this->_socket,
|
{
|
||||||
$timeout
|
stream_set_timeout(
|
||||||
);
|
$this->_socket,
|
||||||
|
$timeout
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __destruct()
|
public function __destruct()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user