Operating System - Linux
1824976 Members
3839 Online
109678 Solutions
New Discussion юеВ

How to implement telnet client by java socket programing?

 
SOLVED
Go to solution
MA Qiang
Regular Advisor

How to implement telnet client by java socket programing?

Can you give me some example?

Thanks.
4 REPLIES 4
Mike Stroyan
Honored Contributor
Solution

Re: How to implement telnet client by java socket programing?

You could look at sourceforge.net/projects/jtelnet/
Geoff Wild
Honored Contributor

Re: How to implement telnet client by java socket programing?

I have used this in the past:

http://www.mudconnect.com/java/Telnet/

And here's another one:

http://freshmeat.net/projects/telnetd/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
MA Qiang
Regular Advisor

Re: How to implement telnet client by java socket programing?

I am a JAVA beginner. I am confused by so many souce codes. Should you give me some simple samples? I just want to implement the the following function:
login to a host and execute 'ls', then exit.
I can get the 'ls' output in my main JAVA program.

Thanks.
MA Qiang
Regular Advisor

Re: How to implement telnet client by java socket programing?

Jtelnet is very good for embedded in my application.

Thanks to Mike Stroyan and Geoff Wild.