I want to sniff network packets without wincap library, kindly give me some hints or direction so that I can make it possible.
I want to sniff network packets without wincap library, kindly give me some hints
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You know, libpcap exists for a reason: It does something that’s necessary.
You need to set up a system-level hook for TCP/IP events, and the way global hooks work means you need to do this from a DLL.
Having hooked those events, you have to figure out the contents of the packets you get.
Are you sure you want to re-invent this wheel?
I found some introductory info on hooking Windows events here.