Hi,

   +-From: Tetsuo Handa <[EMAIL PROTECTED]> --
   |_Date: Thu, 5 Jun 2008 20:25:25 +0900 __________________
   |
   |Then, regarding JVMs where InputStream.read() doesn't block other threads,
   |it is OK to call like
   |  while(true) {
   |    int i = in.read(tmp, 0, 1024);
   |    if(i < 0) break;
   |    System.out.print(new String(tmp, 0, i));
   |  }
   |for simplicity, isn't it? (Please mention if I'm wrong.)

Yes, it will be functional on the recent JVM.

Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to