• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 1.3 Socket Input Stream

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic