Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>carrier</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CARRIER

  .  Summary

  carrier();

  .  Description

  The carrier functions returns a non-zero (TRUE) value if the Carrier
  Detect signal coming from the modem is on (high), otherwise it re-
  turns a zero (FALSE) value. Note that some modems by default over-
  ride the real state of the signal and always send a high. For this
  function to work, the modem must be told to supply the real signal.
  This function may be used to check if Telix is connected to a remote
  service over the modem, as the Carrier Detect signal should be on if
  there is a connection. Note that if you are connecting two computers
  via a null-modem cable, the value returned will depend on the wiring
  of the cable being used.

  .  Return Value

  non-zero (TRUE) or zero (FALSE) based on the state of the Carrier
  Detect signal.

  .  Example

  if (carrier())
   prints("We are online.");

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson