GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes Telnet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Telnet" Watch "Telnet" New topic
Author

Telnet

Justin Cipriani
Greenhorn

Joined: Sep 29, 2004
Posts: 7
Hi i need some advice on starting a software package to allow remote access to a router for configuration via an IP network. I believe the use of socket programming is required and telnet as well. I would appreciate some help with the telnet section, something in the area of tutorials or sites that can help me understand how to implement it.

Thanks
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Is this a J2ME question? Telnet is just a protocol over the socket connection. For most cases, you can easily implement it inside your own apps.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Justin Cipriani
Greenhorn

Joined: Sep 29, 2004
Posts: 7
Hi, the software package runs from the mobile phone which connects to the router via the IP network for configuration. I am doing research on telnet and on implementing it in J2ME but i was wondering if you knew any good starting points or tutorials to help me understand and implement it.
Thanks.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
To implement telnet over standard socket, all you need is to make sure that the data exchange between client server (handshake, request/response) conforms to the telnet specification. I'd start by looking an open source Java telnet client to see how it is done.

http://jtelnet.sourceforge.net/
 
GeeCON Prague 2014
 
subject: Telnet