Network traffic stopper

Im looking for program or program source ,wich I can stop internet with hotkeys. If anyone can help , pls do it
I really don't understand what you're saying. Do you want a program that you can use hotkeys to execute to manipulate internet traffic away from a certain site?

I'm pretty sure that's illegal.
Well, besides the fact that this is kind of an old post, I believe what he meant was he wanted to be able to block his computer from sending/receiving any internet related stuff.
I think you can make such a program
1) you should find out which windows services provide internet connection
2) then you can call net command form c++ code like this:
1
2
3
net stop dhcp
or 
net stop <the services which provide internet connection>


that code should be like this:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#include <stdio.h>
#include <stdlib.h>
 .....
 .....
int man()
{
 .....

 some code to hook global hot key
 ....

 if(hot key clicked)
    system("net stop dhcp");                       
 else
   system("net start");                       


 .....
}



Last edited on
Topic archived. No new replies allowed.