Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperterminal communication

Status
Not open for further replies.

signol01

Programmer
Apr 21, 2005
4
US
Hello, I am programming in java for a project that I am doing and i need to know if it is possible to get a program in java to communicate through the hyperterminal. If how can this be done and can I get any code examples or tutorials? Thanks!-signol01
 
I imagine the hyperterminal is that Windows Telnet Client, but dunno what means "communicate through it"

Cheers,

Dian
 
it is a telnet client I think and I need to alter one program so it will send control signals through the telnet client
 
First things first.

The "Telnet" protocol uses TCP/IP as its transmission protocol. Java can support that through the java.net.Socket class - as long as you build the "telnet" protocol on top of it.

If you don't want to do that - then a google for "java telnet" shows lots of hits. Perhaps you should check out a few ?
--------------------------------------------------
Free Database Connection Pooling Software
 
wait, it isn't telnet then because what i am trying to do is communicate through a com port
 
With telnet, you are still communicating through a port, but the communication must conform to the telnet specification.

Do you know the port number which hyperterminal communicates on?

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
it is communicating on COM4 if that's what you mean
 
Ohhh. COM4 as in a COM Serial port thingy on the back of the PC, yes? Not my thing I'm afraid, though I suspect some native calls through JNI will be involved in a solution.

I don't suppose the Hyperterminal vendor provides any kind of Java API, do they?

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Wow, I love Java.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top