> In every 2000 millisoconds, the chunk of data will be sent to the remote > in the SSH protocol layer. If there is no response from the remote, > the JSch will disconnect the session and channels. > In this case, Channel#isClosed() becomes "true".
Session#setServerAliveInterval(2000) will prevent channel from disconnection from server. But, if TCP/IP closed by accident, then Channel#isClosed() becomes "true". How can I know that the close means normal end or error end? Sincerely, ---------------------------------- Yukimasa Matsuda Quatre-i Science Co., Ltd. e-mail: mats...@i4s.co.jp http://www.i4s.co.jp ---------------------------------- ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users