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
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 ?
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.