Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_onmodem()</b> - notify when modem status changes http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_onmodem() - notify when modem status changes

   nNote := tp_onmodem(nPort, nFlags, [cFunction])

   nPort       Serial port number.
   nFlags      Modem status bit flags.
   cFunction   Name of notification function.

   Returns     Notification handle.

   Requests notification when one or more of the modem status signals
   changes state.  nFlags is an integer produced by adding together one
   or more of the following values:

       1   Watch CTS.
       2   Watch DSR.
       4   Watch RI.
       8   Watch DCD.

   If cFunction is omitted, deletes any onmodem notification request for
   that port.

   Example:

       tp_onmodem(1, 4, "AnswerCall")

See Also: tp_noteoff() Notifications

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