public function close() { if (is_resource($this->socket)) { @fclose($this->socket); } $this->socket = null; $this->connected_to = array(null, null); }
/** * Close the connection to the server * */ public function close() { parent::close(); $this->negotiated = false; }