I wrote a small paper about the security of switched networks, along with a program for Windows.
I explain how it is possible to sniff even switched networks, which many belive is impossible.
http://www.strandmark.com/switch/switch.shtml
Althagafi might find the source code interesting, since he is developing a packet sniffer.