• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jose Tharayil Raphael
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic