Carrier Detect In Basic
4 messages in this thread
Hello! anyone out there know how to detect the carrier from Hisoft Basic? I
wanna know if the caller on my bbs has hung up… Maybe I should dump basic
and learn C
Paulc
I think that it is not possible for the HOST to detect loss of carrier.
That is why most BBSes have a 'no-keypress-in-30-seconds'
warning/autologgoff. Evan CIS does, but useses up to 15 min to wait.
David Dowdle
It IS possible to check for the carrier detect signal for the serial port
in software. You need to send a query_status message to the serial device
and check the flags it returns to see if carrier detect is set or not.
I've done this in C but have no experience in talking to devices in BASIC.
— Mike Roth
David:
In a properly implemented 7 wire serial setup, a host can in fact detect a
loss of carrier. The primary reason for the autologoffs is so that others
that want to use the system can get online (in the case of most bbses) or
so that you don't run up a huge bill (on CI$)
-Mike Schiller
In sunny Fort Lauderdale