About Raw Socket
-
Hello all, I am developing sniffer kind of application. I have it at all. But now i want to add IP Filtering option in it. But i don't know how to set an option on socket so that i can not receive local network packets. Is there any body who can help me out. Any help will be highly appreciated. Thanks in advance.
Manish Patel. B.E. - Information Technology.
-
Hello all, I am developing sniffer kind of application. I have it at all. But now i want to add IP Filtering option in it. But i don't know how to set an option on socket so that i can not receive local network packets. Is there any body who can help me out. Any help will be highly appreciated. Thanks in advance.
Manish Patel. B.E. - Information Technology.
Are you wanting to sniff on the packets that originated from an external network? In that case, you could do a check on the source IP address of the packet, which should not belong to the IP range of your local network.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP