home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
comms_networking
/
modemkick
/
HangUp
< prev
next >
Wrap
Text File
|
1998-07-12
|
1KB
|
21 lines
| If MrModemKick is loaded, then stop it "kicking" the modem.
| This *MUST* be done before dialling up is attempted, else the line
| will drop when you're dialling out (if MrM "kicks" the modem whilst it's dialling)
|
| by MoZes to work in !InetSuite.Internet.Files.HangUp
SetEval MrModemKick$Alive 1
RMEnsure MrModemKick 0.00 SetEval MrModemKick$Alive 0
| If loaded, turn off kicking.
If MrModemKick$Alive THEN ModemKick Off
| If you'd rather not kill off MrModemKick, then comment out the If .. RMKill..
| But since MrModemKick serves no purpose at all whilst you're not dialled in, then
| we may as well kill it to save a K of memory or so.
| MrModemKick will get reloaded when you dial in anyway if you have got the
| "Run on connect" option selected in ANT's configure app.
If MrModemKick$Alive THEN RMKill MrModemKick
Unset MrModemKick$Alive
| Reinitialise the ArcPPP module (ANT's PPP module) - we don't *need* to, but
| everything works better once it's restarted.
| *THIS HAS NOTHING TO DO WITH MrModemKick*
|RMReinit ArcPPP