Solved

Connecting to remote PC with HyperTerminal: What protocols used?

Posted on 2003-12-08
4
314 Views
Last Modified: 2013-12-19
How does an application like HyperTerminal work?
The application uses an anlogue modem to connect to a dsitant host.
The application uses serial com port to talk to the modem, using AT command set.
But what comes after that? There is no TCP/IP involved here, right?
Are the commands for the remote computer sent as plain text?
What is the protocol used? TELNET? rlogin? or something entirely different?
I have to develop an application which is able to connect to another host, the same way Hyperterminal does, but i have no idea how to start.
Any suggestions?
0
Comment
Question by:scrontch
  • 2
4 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 9895215
Hi scrontch,
sounds suspiciously like homework to me?

hyperterminal uses RS232 communication

PeteL
0
 
LVL 2

Author Comment

by:scrontch
ID: 9895494
Homework?!? No, it isnt.
I need to develop an application to communicate with a telephony PBX via a modem connection.
But i dont know which protocol the PBX uses.
All i know is that people use HyperTerminal to do it.
They dial the number, then they can launch commands on the PBX through the HyperTerminal connection.
So this must be some standard protocol for communicating with a remote server.
But i dont know which one.
I searched the web, but i dont really know how where to start.
I found how access the modem via serial com ports.
I found how how to make the modem dial etc. with the Hayes modem command set.
But i have no idea on what comes on top of that layer???
Some terminal emulation layer? TELNET? ...
0
 
LVL 37

Accepted Solution

by:
Bing CISM / CISSP earned 200 total points
ID: 9895632
ok, lets go on.

* How does an application like HyperTerminal work?
basically, it sends and receives text information interactively. for more, please visit here:
http://www.vee90.net/trouble_hyperterm.html

* The application uses an anlogue modem to connect to a dsitant host.
yes, over phone line or tcpip network.

* The application uses serial com port to talk to the modem, using AT command set.
yes

* But what comes after that? There is no TCP/IP involved here, right?
yes, it supports tcpip. start it, input a connectio name, then in "connect to" dialogbox, from the popup list of "connect using", choose "tcp/ip (winsock)", then input host address and port numbber. now, it works like a telenet program.

*Are the commands for the remote computer sent as plain text?
yes

*What is the protocol used? TELNET? rlogin? or something entirely different?
for tcpip, it uses telnet. else, as you mentioned, it uses at command.

* I have to develop an application which is able to connect to another host, the same way Hyperterminal does, but i have no idea how to start.

for at command over phone line, just do programing with serial port API to access com port for sending and receiving, see corresponding language/lib reference for more.
http://www.lookrs232.com/modem_programming.htm
www.ontrak.net/mfc.htm

for tcpip network with telnet protocol, just do programming with winscok to access tcpip network for similar works.
http://www.snible.org/winsock/
http://forums.devshed.com/t83009/sa918a86fedd35ef7e36aaf1defd72a4e.html?perpage=15&pagenumber=2

hope it helps,
bbao
0
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
ID: 10053885
scrontch, any feedback please?
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now