• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

Retrieving incoming and outgoing packets (TCP and UDP)

Hey, I'm trying to make my own packet scanner and I need any possible information on how to make this or where to start. If anyone has information, source code examples, or if anyone is willing to guide me through this, I would gladly offer extra points. Thanks a bunch!

Chuckie
0
Smiley2003
Asked:
Smiley2003
1 Solution
 
zzzzzoocCommented:
I don't believe winsock has the ability for such so you can ignore all those PSC links. You can, however, try to use the WinPCap drivers. If you'd look to research the methods yourself you can try the below link. Mainly for TDI & NDIS.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/network/hh/network/netdg_2hd3.asp
0
 
Smiley2003Author Commented:
Hey its me again, I looked at the PSC links and like zzzzzooc said, winsock is incapable of doing that. BUT! I did check out the PacketVB dll, thats almost exactly what I needed. I had one problem with regsvr32 on the dll, but I think I'm going to switch to using WinPCap. Thanks to both of you!

Chuckie
0
 
Chuckie_IceCommented:
Hey again smiley! I can help you on yahoo again like I did last time, (fredrick_laren). Cya
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now