Solved

how to do telnet in java?

Posted on 1997-09-19
3
242 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
Comment Utility
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
Comment Utility
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
Comment Utility
Ready source for Applet telnet
http://congo.cks.com:8080/files/Telnet.java
Rembo find it, answering similar question :)

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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 Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

763 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

5 Experts available now in Live!

Get 1:1 Help Now