Searched refs:nbytes (Results 1 – 1 of 1) sorted by relevance
607 $nbytes = fwrite($socket, substr($data, $written, 4096));608 if ($nbytes === false)610 $written += $nbytes;621 * @param int $nbytes Number of bytes to read629 protected function readData($socket, $nbytes, $message, $ignore_eof = false)633 if ($nbytes < 0) $nbytes = 0;634 $to_read = $nbytes;670 } while ($to_read > 0 && strlen($r_data) < $nbytes);625 readData($socket, $nbytes, $message, $ignore_eof = false) global() argument