Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 1.3 Socket Input Stream

 
Aj Jaro
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand that this version of Java is no longer supported and is completely out of date, however I was hoping to find some answers because an upgrade is just not possible.

The purpose of this program is to change passwords on a list of devices with given usernames and password. After successfully connecting to multiple devices for years, I needed to add a new device to connect to. This new device has a telnet pass-through login, where you give the server your username and it passes you to the appropriate device where you logon.

I am able to use the output stream with no problem. The input stream, however, only returns 'ÿý%' after opening the socket and nothing else no matter what I put in the output stream. It should return a few more things, at least:

Trying...
Connected to superSecret.com.
Escape character is '^]'.
Local flow control off

Do you have any ideas?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic