Я реализовал внешний класс в своем скрипте php, и он вызывает следующее предупреждение:
PHP Warning: stream_socket_sendto(): Broken pipe
Код, указанный:
/**
* writes the contents of string to the file stream pointed to by handle
* If an error occurs, returns FALSE.
* @access protected
* @param string $string The string that is to be written
* @return string Returns a result code, as an integer.
*/
protected function _streamQuery($query) {
$this->edebug($query);
return stream_socket_sendto($this->stream, $query . self::CRLF);
}
Как решить это предупреждение?