Click here to Skip to main content
15,301,414 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to need code to block website using C language code.

Don't use the hosts file from System directory...

without modifying host file make the code...... please help me
Posted
Comments
nv3 4-Jul-13 16:32pm
   
Do you mean a blog or block website?
Sagar Chauhan 6-Jul-13 6:14am
   
yes, block the website

1 solution

Do you want to write your own firewall?
Google is your friend, for instance with a quick search I found Firewall For Windows[^] and Roll Your Own Firewall with Netfilter[^] (Linux).
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900