Connecting to remote PC with HyperTerminal: What protocols used?

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?
LVL 2
scrontchAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
Hi scrontch,
sounds suspiciously like homework to me?

hyperterminal uses RS232 communication

PeteL
0
scrontchAuthor Commented:
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
bbaoIT ConsultantCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bbaoIT ConsultantCommented:
scrontch, any feedback please?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.