public function __construct($sleep_time = 60, $port = 1500) { // socket parameters $this->port = $port; $this->socket = null; $this->socket_clients = array(); $this->client_counter = 0; parent::__construct($sleep_time); }
public function __construct() { parent::__construct(2); }