I get the error: Warning: fread(): Length parameter must be greater than 0 on line 332
Not really processing why I am getting this, maybe someone else here will.
Here is the code for 332 and before.
...
function _getmore() {
if(!$this->_sockstate()) {
$tmp=fread($this->_sk,1);
$stat=socket_get_status($this->_sk);
$tmp.=fread($this->_sk, $stat["unread_bytes"]);
...
Thanks