Hi all,
how can I disable internet in windows/Linux machine. I want to disable completely and enable it at will using C++
Thanks
Stefano Mtangoo
455
Senior Poster
Recommended Answers
Jump to PostI think you can use system() call in windows for that, with system() call one can easily supply dos based command.
And as you want to switch off services related to internet.
You can use "net start" and "net stop" command for enabling and disabling any system services. So there …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.