Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 1998-07-10
8
Medium Priority
?
1,275 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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