Browse Source

add socket validation

main
ghost 12 months ago
parent
commit
49c5c76908
  1. 11
      src/Xash3D/Master.php

11
src/Xash3D/Master.php

@ -19,10 +19,13 @@ class Master @@ -19,10 +19,13 @@ class Master
$port
);
stream_set_timeout(
$this->_socket,
$timeout
);
if ($this->_socket)
{
stream_set_timeout(
$this->_socket,
$timeout
);
}
}
public function __destruct()

Loading…
Cancel
Save