?
Solved

How can I catch TCP/IP packet?

Posted on 1998-12-23
4
Medium Priority
?
315 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
[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
  • 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 300 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

765 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