Solved

How can I connect two computers using modem and after that sending variables!!!!!!!!!!!

Posted on 1998-07-10
8
1,273 Views
Last Modified: 2010-04-04
How can I connect two computers(the first one two
be on Auto answering mode and the second dials)
like when loginng in internet with modem!!!!!!!
0
Comment
Question by:NIKITA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:kashif063098
ID: 1357641
what kind of operating system you have ,win 95,win nt ?

For Window NT :
You can do this using Dialup networking.
on the Host machine RAS Service should be running and a user account on the host machine should have rights to use RAS

 
0
 

Author Comment

by:NIKITA
ID: 1357642
I want to connect two computers with modem(but with a delphi program)...
0
 
LVL 2

Accepted Solution

by:
saar071697 earned 100 total points
ID: 1357643
you are cant do something like that in delphi.
and i think the jimbob will say you the same.
if the other computers are using netware maybe there is some way.

Daniel,
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:saar071697
ID: 1357644
sorry about it:

you are cant do something like that in delphi.
and i think that jimbob will say you the same.
if the other computers are using netware maybe there is some way.

Daniel,
0
 
LVL 2

Expert Comment

by:lortega
ID: 1357645
You need to know to much about modem comunication...stuff like modem command, comm APIs, security issues (if Windows NT), overlapped issues (Windows NT) and posible multithread system...

some Win32 APIs to access the comm port are:
   CreateFile
   WriteFile
   ReadFile
   CloseHandle
   SetupComm
   GetCommState
   SetCommState
   BuildCommDCB

To create to application that comunicate over modems you need that the receiving programm stay on memory (locking the comm port) at the moment of receiving the call, the calling programm need to send some special character to tell the modem that made the call...

some command characters are:
    AT  
   ATDT  (to dial in tone mode)
   ATDP (to dial in pulse mode)
   +++    (to hangup the phone)
   ,         (to sleep modem during 2 second)

and example is...    ATDT,1564845      this sample just dial the phone number 1564845

be carefull with modem command because there are some standard but some modem have its own commands... so read your modem documentation...


if you want to lose your dreams in an space of MS APIs... try TAPI (Telephone API)... but I do not recomend you that because that is another non-standard MS calls...

don't give up, but there are a world of comm issues...

att
lortega
0
 
LVL 2

Expert Comment

by:lortega
ID: 1357646
saar thas was a chrismas gift...     ;-)
0
 

Author Comment

by:NIKITA
ID: 1357647
I know how to dial a number with createfile and writefile
but I can't connect them!
0
 
LVL 2

Expert Comment

by:lortega
ID: 1357648
The dial is easy, the receiving is not so ease, but the modem connection is automatic... then you just need to turn in command mode... and BINGO everi thing that you send should be received in the other computer...

be carefull with the way that you call CreateFile, in read and write mode and be carefull to of the overlapped issues tha will affec your system in NT environment...

good luck...
luis
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

707 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