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?
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>