🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11645

Re: Retrieve modem status:how?

#11645
From: Bob Gonder
Date: Tue, 27 Jan 2004 15:51
18 lines
1798 bytes
Davide Puccioni wrote:

>My primary goal is to query line status to check when link drops down.
>I've take a look to GetCommModemStatus, WaitCommEvent and SetCommMask 
>WinApi functions,but I don't know which signal must be observed.

I would think that what they are calling RLSD is the CD line (Carrier
Detect).  CD goes away when the modem hangs up. CTS and DSR are almost
always up (they can fluctuate) as long as the modem has power (you
need to be able to talk to the modem off-line).

DSR DataSetReady means the modem has power.
CTS ClearToSend means the modem is ready to listen to you (not busy
reseting or processing the last batch of data you sent it, so can't
take any more right now).
RING is.well, Ring, the phone is ringing (incoming call).
That leaves RLSD for "A connection (to another modem) has been
established".
Technical Details
Message-ID: <ie1d10pgtqnaaqdp0bokqdn5m1ghmsegc1@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40164011.60901@nospam.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b4799acf7efcb3a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-27 08:11:15 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Retrieve modem status:how?
Date: Tue, 27 Jan 2004 07:51:36 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <ie1d10pgtqnaaqdp0bokqdn5m1ghmsegc1@4ax.com>
References: <40164011.60901@nospam.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.103
X-Trace: newsgroups.borland.com 1075218697 67.31.165.103 (27 Jan 2004 07:51:37 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail