Solved

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

Posted on 1998-07-10
8
1,270 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
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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