Solved

Retrieving incoming and outgoing packets (TCP and UDP)

Posted on 2003-11-03
4
538 Views
Last Modified: 2013-11-13
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
Comment
Question by:Smiley2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 17

Expert Comment

by:zzzzzooc
ID: 9677746
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
 

Author Comment

by:Smiley2003
ID: 9678542
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
 
LVL 2

Accepted Solution

by:
Chuckie_Ice earned 500 total points
ID: 9763675
Hey again smiley! I can help you on yahoo again like I did last time, (fredrick_laren). Cya
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question