File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Java 1.3 Socket Input Stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Java 1.3 Socket Input Stream" Watch "Java 1.3 Socket Input Stream" New topic

Java 1.3 Socket Input Stream

Aj Jaro

Joined: Oct 24, 2010
Posts: 27
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:

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

Do you have any ideas?

I agree. Here's the link:
subject: Java 1.3 Socket Input Stream
It's not a secret anymore!