• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 694
  • Last Modified:

Using java to telnet

I'm looking for the code to use a java applet, running on a
web server, to be able to connect via telnet to some
computer.  I must be able to supply the telnet address and
the port.  I then want to sent some string to the
connection (ie simulate keyboard entry) and be able to
receive the answer from the server.

Any help / comments ?
0
cfm
Asked:
cfm
1 Solution
 
PhilippeCommented:

There is a java telnet client with code and explanation at

http://www.hotwired.com/webmonkey/code/97/24/index2a.html

Note that they use it to connect to a chat server, so you may want to change its look.

 hope this helps

  Philippe

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now