Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to do telnet in java?

Posted on 1997-09-19
3
Medium Priority
?
308 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 800 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

618 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