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
$port $port
); );
stream_set_timeout( if ($this->_socket)
$this->_socket, {
$timeout stream_set_timeout(
); $this->_socket,
$timeout
);
}
} }
public function __destruct() public function __destruct()

Loading…
Cancel
Save