Aram Mirzadeh skrev  den 08-03-2008 23:29:
Hello,

I am opening a telnet stream to a cisco router to login.   Than calling

String foo = readUntil ("Password: ",false);

.. to read in the banner and the "Password" field so that I know when
to send in the auth.

But it looks like readLine times out on the last line, takes 30000 ms
to complete the last read.

Does the CISCO return a "end of line" character after the "Password:" string? If not, then ReadLine cannot tell that the line has ended.

--
 Thorbjørn

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to