şey eklesek if($stat["unread_bytes"] > 0) { ;=)
function _getmore() {
if(!$this->_sockstate()) {
$tmp=fread($this->_sk,1);
$stat=socket_get_status($this->_sk);
if($stat["unread_bytes"] > 0) {
$tmp.=fread($this->_sk, $stat["unread_bytes"]);
}
return $tmp;
} else
return "\0";
}