public function setSocket($socket)
    {
        $this->socket          = $socket;
        $this->incomingData    = "";
        $this->rcvQueue        = array();
        $this->sndQueue        = array();
    }