neshkov
asked on
Disconnect Internet connection
Hi all,
Is there a solution to disconnect a Internet connection - computer connected to the Internet via LAN.
Thanks in advance.
Is there a solution to disconnect a Internet connection - computer connected to the Internet via LAN.
Thanks in advance.
ASKER
No...Terminate, disconnect.... something like "RasHangUp( )" and RASAPI32.DLL.
If you are connected "via LAN" how you can do "HangUp"?
You are disconnected till a 1. programm from your computer will send a request to a remote computer or
2. programm from remote computer will send a request to your computer.
If you want to prevent case 2 then you need some kind of firewall.
You are disconnected till a 1. programm from your computer will send a request to a remote computer or
2. programm from remote computer will send a request to your computer.
If you want to prevent case 2 then you need some kind of firewall.
ASKER
May be there is a way to close handles that are created and used by the WinINet functions ( any Internet handle or subtree of handles of the type HINTERNET) and free any associated resources with InternetCloseHandle(). ...just a thought!
What is the 'global' idea?
What you need?
What you need?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Paul!
Unplug the network cable ;-)