the Win32 RAS api includes a function RasHangUp that does this http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ rras/rras/rashangup.asp
probably there are Delphi componets around that wrap this API but i am not familiar with any of them -ns http://www.roserox.co.th ----- Original Message ----- From: "gajo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 01, 2003 7:37 AM Subject: [DUG] Hangup modem > How can I break any active connection at a given time? Or if that is too > complicated, then just a given connection at a given time? > > I would like to write a program that would break the connection to the > Internet at 7 AM. That is when my free Internet access ends, and after that > I have to pay, but I'm usually not awake to do that manually. I have so far > not found any clues as to how to hangup the modem. > > Gajo > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
