Solved

How can I catch TCP/IP packet?

Posted on 1998-12-23
4
288 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

706 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

21 Experts available now in Live!

Get 1:1 Help Now