Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 542
  • 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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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