🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: dialing a phone number

#3037
From: Bob Gonder
Date: Thu, 14 Sep 2006 17:02
12 lines
1546 bytes
Maurice wrote:

>Now, if you had time, I like to read the modem status to know if the ligne
>is busy or not.
>
>Any idea???

After WriteFile() do a ReadFile() to read the response.

You would probably want to read single chars and build up a response
out of them because you don't know the size of the response ahead of
time.
Technical Details
Message-ID: <dk2jg2h4lk90pkjpmigvc5vp5htmidksro@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <450019d6@newsgroups.borland.com> <45003577$1@newsgroups.borland.com> <4502c609@newsgroups.borland.com> <in88g21pd7ivvo44c2no7a54kl7ii2sic0@4ax.com> <450659cf@newsgroups.borland.com> <5hrdg2djn4a8onsagqjb7nr2mnjuqqkneq@4ax.com> <45092ad6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ff63fb968e41f36a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: dialing a phone number
Date: Thu, 14 Sep 2006 10:02:27 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <dk2jg2h4lk90pkjpmigvc5vp5htmidksro@4ax.com>
References: <450019d6@newsgroups.borland.com> <45003577$1@newsgroups.borland.com> <4502c609@newsgroups.borland.com> <in88g21pd7ivvo44c2no7a54kl7ii2sic0@4ax.com> <450659cf@newsgroups.borland.com> <5hrdg2djn4a8onsagqjb7nr2mnjuqqkneq@4ax.com> <45092ad6@newsgroups.borland.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: 71.49.209.194
X-Trace: newsgroups.borland.com 1158253344 71.49.209.194 (14 Sep 2006 10:02:24 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail