public function connect(&$cn = 1, &$cs = "Unknown error")
    {
        $fp = fsockopen($this->ip, $this->port, $cn, $cs, 3) or die("Could not connect. " . date("Y-m-d H:i:s") . PHP_EOL);     
        if (!$fp) {
            return false;
        } else {
            self::$socket = $fp;
            return true;
        }
        
    }