Code

Added queue entry start / stop
[gosa.git] / gosa-core / include / class_socketClient.inc
index 517a9a0b26749fecb22171437c407c2b9ee164a0..72230451b4fda08f689fe71c557afe26680fde03 100644 (file)
@@ -126,7 +126,7 @@ class Socket_Client
                        while($num && get_MicroTimeDiff($start,microtime()) < $this->timeout){
                                $str.= fread($this->handle, 1024000);
                                $read = array("0"=>$this->handle);      
-                               $num = @stream_select($read,$write,$accept,floor($this->timeout), ceil($this->timeout*100000));
+                               $num = stream_select($read,$write,$accept,0,200);
                        }
                        $this->bytes_read = strlen($str);
                        $this->b_data_send = FALSE;