Solved

How can I catch TCP/IP packet?

Posted on 1998-12-23
4
291 Views
Last Modified: 2013-12-03
Hello,

I'm using Winsock. Can anyone show me how I catch a TCP/IP packet in my LAN ?
0
Comment
Question by:toannds
  • 2
4 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 1417618
You have to write a network protocol driver. You'll at least have to take a look at the NDIS driver interface.
See the MSDN atricle 'Network Driver Interface Specification (NDIS)'.
0
 

Author Comment

by:toannds
ID: 1417619
Thank you. But I didn't found it in Win32.hlp and Yahoo. Please tell me where I can obtain basic information or tutorial.
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1417620
It's available on the MSDN online library at:

http://msdn.microsoft.com/developer

You'll need to register to gain access but there is no charge (at least not currently) for this service.

You'll find the NDIS specification under:

Platform SDK>DDK Documentation>Windows NT 4.0 DDK>Network Drivers>Network Reference>Part 1 NDIS

Be forwarned, this is non-trivial stuff.
0
 
LVL 32

Expert Comment

by:jhance
ID: 1417621
toannds,

BTW, you will need to get at least the Microsoft MSDN Professional subscription to actually build an NDIS application.  This is due to the fact that you need the Windows DDK support files and they are only available with MSDN.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now