How can I catch TCP/IP packet?

Hello,

I'm using Winsock. Can anyone show me how I catch a TCP/IP packet in my LAN ?
toanndsAsked:
Who is Participating?
 
jhanceConnect With a Mentor Commented:
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
 
jkrCommented:
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
 
toanndsAuthor Commented:
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
 
jhanceCommented:
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
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.

All Courses

From novice to tech pro — start learning today.