delorie.com/archives/browse.cgi | search |
From: | "Martijn Lievaart" <nobody AT orion DOT nl> |
Newsgroups: | comp.os.msdos.4dos,comp.os.msdoss.apps,comp.os.msdos.djgpp,comp.os.msdos.misc |
Subject: | Re: Accessing the modem from a command line |
Date: | 30 Oct 1998 11:31:58 GMT |
Organization: | EuroNet Internet |
Lines: | 42 |
Distribution: | inet |
Message-ID: | <71c83e$mda@news3.euro.net> |
References: | <363989C2 DOT E66F2FF2 AT tibco DOT com> |
NNTP-Posting-Host: | ois.orion.nl |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Cristiano Gallotta wrote in message <363989C2 DOT E66F2FF2 AT tibco DOT com>... >Hello, > >Apologies for the semplicity of the question (or the banality) but I >don't really have a clue about it. > >The problem. > >I have an application which reads data from a serial port (say com2). >The data comes from a remote site, so I have to dial in. > >How do I dial in to a remote modem and allow applications read the data >the >comes on that port ? > >Hyperterminal, for instance, takes off the port so your application >won't see that port. > >The question: > >Is it possible to use any modem command from DOS to tell the modem >to dial in without taking the port off ? > Just: echo ATZ >com2 echo atd <insertnumber here> <run app here> echo ath0 >com2 should get jou a long way. Martijn (see sig for real email address) -- Microsoft logic. Add signature under dash-dash-space. Then strip all trailing spaces (Outlook Express 4.71) My email address is intentionally invalid against spam reply to mlievaart at orion in nl
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |