wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes How do I open a telnet session on a RS-232 serial connector? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How do I open a telnet session on a RS-232 serial connector?" Watch "How do I open a telnet session on a RS-232 serial connector?" New topic
Author

How do I open a telnet session on a RS-232 serial connector?

Jose Tharayil Raphael
Greenhorn

Joined: Aug 11, 2003
Posts: 4
Hi everyone,
How do I open a telnet session to a RS-232 serial connector?
Please guide.
luv,
Jose Tharayil
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Telnet is a TCP/IP based protocol; if this is what you really want, then you need to run a SLIP link over the serial port, which you'd have to do at the OS level, not in Java. But I bet what you really want is just to type text and have something on the other end of the cable talk back -- more like a simple terminal emulation.
There's a Java Communications API that lets you work with serial ports. I'm moving this to the "Other Java APIs" forum which is appropriate for questions about that API.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I open a telnet session on a RS-232 serial connector?