public function send()
    {
        $this->response = '';
        
        $fs = fsockopen($this->host, $this->port, $this->errorNumber, $this->errorString, 3);
        
        if ($this->errorNumber != 0) {
            throw new Exception('Error connecting to host: ' . $this->host . ' Error number: ' . $this->errorNumber . ' Error message: ' . $this->errorString);
        }
        
        if ($fs !== false) {
            @fwrite($fs, $this->request);
            
            while (!feof($fs)) {
                $this->response .= fgets($fs, $this->responseLength);
            }
            
            fclose($fs);
        }
    }