Solved

how to do telnet in java?

Posted on 1997-09-19
3
283 Views
Last Modified: 2012-06-27
how do i create a java applet that does telnet and like telnet has the ability to connect to other computers and do telnet operations? Exactly like programs that are telnet except for the fact that it is loaded as a java applet.
0
Comment
Question by:hip2b2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 10

Expert Comment

by:kollegov
ID: 1227231
It's very easy thing, but It can connect only to one host!
Server where from it was loaded.
Security restrictions sir!
If you still think you need this (and such restricted telnet)
applet, reject my answer! And I'll post code here in next attempt
to satisfy you :)
If you tell about application it's other thing, but applet
can't connect to other servers.
0
 
LVL 10

Accepted Solution

by:
kollegov earned 200 total points
ID: 1227232
Here is ready example (very simple)
ready telnet client.
All you need is
to make interface in applet.

http://www.info.ucl.ac.be/etudiants/Cours/2601/JAVA/exemples/Telnet/TelnetClient.java

0
 
LVL 10

Expert Comment

by:kollegov
ID: 1227233
Ready source for Applet telnet
http://congo.cks.com:8080/files/Telnet.java
Rembo find it, answering similar question :)

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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.
Suggested Courses

742 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