#: 20570 S3/Languages
19-Nov-94 22:20:01
Sb: #20569-#_gs_rdy() question
Fm: David Breeding 72330,2051
To: Bob van der Poel 76510,2203 (X)
> David, A few things for talking to the modem....
>
> 1. You have to turn off echo! Otherwise what the modem sends back is sent
> back to the modem.
Hey, I hadn't thought of that.. So that's why everything just kept going back
and forth..
> 3. _gs_rdy() never returns 0. It returns 1..? if there is data, -1 if
> there isn't.
I think it returns the number of bytes available, if any are available.
> So, here is a program which works:
> Hope this helps.
Thanks.. I knew someone would be here with the answer.. I think I posted this
only about 3 hrs ago.. pretty fast turnaround.
What I'm trying to do is write an external autodialer. As far as I know,
there's no generic one available.. If I'm not mistaken, my system's comm
driver does not support CD, so I'm going to have it look for result codes.
There was an autodialer on Delphi, but it was for KWindows, and I got an error
208 pretty quickly .
Thanks again, Bob, I'd probably have been scratching my head for quite a while
on my own..
-- David Breeding --
CompuServe : 72330,2051
Delphi : DBREEDING
*** Sent via CoCo-InfoXpress V1.01 ***
^^^^ ^^^^^^^^^^
There are 2 Replies.
|