• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

how to get all messages travelling in a lan.

Using MFC how can I get all the messages from all m/cs in  a ethernet based network? Is there any specific APIs to do this or will I have to go in for writing network card drivers for this.
1 Solution
You'll at least have to take a look at the NDIS driver interface.
See the MSDN atricle 'Network Driver Interface Specification (NDIS)'. You'll have to swith the protocol stack in the so-called 'promiscuous mode' in order to receive network packes that are not sent to the monitoring machine.
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.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now