Raw sockets Tutorials

Hi ,I wanted to write a program that will view network traffic using Raw Sockets,I need some tutorials thanks
google Ethereal. it's free and open source. I learn best by example, so i love open source programs that I can look through the code and see how something can actually be implemented. do keep in mind that you should check with your ISP first since network sniffing is not necessarily legal depending how and where you do it.
Thanks Mal ,I passed through some tutorial but I have a problem in creating IP and TCP Headers and how to broadcast them.
Topic archived. No new replies allowed.