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
Solved

How can I catch TCP/IP packet?

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

861 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