Solved

how to do telnet in java?

Posted on 1997-09-19
3
254 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
  • 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

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
@SBGen Method 3 35
JUnit 4 @Before and @BeforeClass differences 3 48
table example 4 21
varialbe initialization 11 30
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.

911 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

18 Experts available now in Live!

Get 1:1 Help Now