Solved

Using java to telnet

Posted on 1997-07-21
1
678 Views
Last Modified: 2012-06-27
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
Comment
Question by:cfm
1 Comment
 
LVL 2

Accepted Solution

by:
Philippe earned 100 total points
ID: 1223502

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
best (free) software to access postgres db (java) 1 32
advertisement module in core php 4 144
Java passing arguments (type error) 2 47
Java DateChooser? 3 29
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now