Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Telnet  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Justin Cipriani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Why is the word "abbreviation" so long? And this ad is so short?
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!