home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / comms_networking / modemkick / HangUp < prev    next >
Text File  |  1998-07-12  |  1KB  |  21 lines

  1. | If MrModemKick is loaded, then stop it "kicking" the modem.
  2. | This *MUST* be done before dialling up is attempted, else the line
  3. | will drop when you're dialling out (if MrM "kicks" the modem whilst it's dialling)
  4. |
  5. | by MoZes to work in !InetSuite.Internet.Files.HangUp
  6. SetEval MrModemKick$Alive 1
  7. RMEnsure MrModemKick 0.00 SetEval MrModemKick$Alive 0
  8. | If loaded, turn off kicking.
  9. If MrModemKick$Alive THEN ModemKick Off
  10. | If you'd rather not kill off MrModemKick, then comment out the If .. RMKill..
  11. | But since MrModemKick serves no purpose at all whilst you're not dialled in, then
  12. | we may as well kill it to save a K of memory or so.
  13. | MrModemKick will get reloaded when you dial in anyway if you have got the
  14. | "Run on connect" option selected in ANT's configure app.
  15. If MrModemKick$Alive THEN RMKill MrModemKick
  16. Unset MrModemKick$Alive
  17.  
  18. | Reinitialise the ArcPPP module (ANT's PPP module) - we don't *need* to, but
  19. | everything works better once it's restarted.
  20. | *THIS HAS NOTHING TO DO WITH MrModemKick*
  21. |RMReinit ArcPPP