🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ReadFile/WriteFile Timing

#12615
From: Nicholas Gessler
Date: Mon, 01 Dec 2003 03:30
13 lines
1404 bytes
Thanks everyone for your help with ReadFile() and WriteFile().
This has speeded up my read/writes several hundred fold.
I now am having some difficulty with timing:

I want to say:
WriteFile(...)      // to tell the peripheral to send me data
while (!readytosend);   // wait until the peripheral is ready
ReadFile(...)                 // read what the peripheral says

Where can I find info on RTS/CTS or DTR/DSP?
I don't see this in the SDK help menu.
Also, I am not sure that the peripheral reads or writes these signals...  I guess I'll find that out if I try to use them.
Technical Details
Message-ID: <3fcac3ca$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f704ae3bd2965d0,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-30 20:39:22 PST
From: "Nicholas Gessler" <gessler@ucla.edu>
Sender: "Nicholas Gessler" <gessler@ucla.edu>
Reply-To: "Nicholas Gessler" <gessler@ucla.edu>
Subject: ReadFile/WriteFile Timing
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 4.60.97.32     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3fcac3ca$1@newsgroups.borland.com>
Date: 30 Nov 2003 20:30:02 -0700
X-Trace: newsgroups.borland.com 1070253002 207.105.83.66 (30 Nov 2003 20:30:02 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail