/** * 发送错误信息给客户端。 * * @param int $errno * @param string $errstr */ protected function error($errno, $errstr) { $this->serv->send($this->fd, DataParser::std($this->cmd_data[2], $this->cmd_data[3], NULL, $errno, $errstr)); }