Solved

how to do telnet in java?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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…

815 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

8 Experts available now in Live!

Get 1:1 Help Now