Exemplo n.º 1
0
 public function __construct($client_class, $bind_address = 0, $bind_port = 0, $domain = AF_INET, $type = SOCK_STREAM, $protocol = SOL_TCP)
 {
     parent::__construct($client_class, $bind_address, $bind_port, $domain, $type, $protocol);
     $this->buckets = array_fill(0, $this->buckets_size, array());
 }
Exemplo n.º 2
0
 public function __construct($iPort)
 {
     // Spawn off a client servicer to handle the request.
     AirD::Log(AirD::LOGTYPE_INTERNAL, "HTTPServer's constructor", true);
     parent::__construct("HTTPClientServer", 0, $iPort);
 }