Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Sheriff
Posts: 24215
37
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
Boost this thread!