Click to See Complete Forum and Search --> : Help! Implementation of Telnet client in Java


Vishnu Mohan
March 3rd, 1999, 06:13 AM
I'm trying to implement a telnet client program in Java.After the option

negotiations I get this error:

"java.net.SocketException:connection reset by peer"

This program was working fine earlier.The client software runs on a Win95 node

and is to telnet to a Unix server.Now why would the peer(the Unix machine

I presume)want to reset the connection? What does this mean?

Please help.I'm working against a deadline.

Davender Pratap Singh
March 3rd, 1999, 09:55 PM
Hye,


I'd love to help you out! But, I need more information like the code..whatever you wanna share actually regarding the problem.

See ya.....


Long Live Java...


Davender aka JaVaFLow

Chiranjeevi
May 1st, 1999, 11:22 AM
Hello vishnu mohan,
I don't have any idea, but what i think is that the sockets(OS dependent) that u have written for 95/NT, will not work for unix. The client side socket is a 95/NT supportive socket and the other side it is Unix socket. Both implementation is entirly differnt. But I don't know how in java they have implimented. Try to get the information about it.
I would like to impliment the telnet client by using java, can u advice me how to start and how should I design it.
Here is my id: pchiru@yahoo.com
Thanks and regards,
Chiru

Thanks
Chiru

Patrick Liechty
May 4th, 1999, 02:30 PM
If you don't want to mess with the details you can get this free library that gives a high level api for telnet. Go to http://www.oroinc.com to find the library. The library is well written and in java.