Solved

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

Posted on 1998-07-10
8
1,269 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
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:kashif063098
Comment Utility
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
Comment Utility
I want to connect two computers with modem(but with a delphi program)...
0
 
LVL 2

Accepted Solution

by:
saar071697 earned 100 total points
Comment Utility
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
 
LVL 2

Expert Comment

by:saar071697
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 2

Expert Comment

by:lortega
Comment Utility
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
Comment Utility
saar thas was a chrismas gift...     ;-)
0
 

Author Comment

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

Expert Comment

by:lortega
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

13 Experts available now in Live!

Get 1:1 Help Now