Description: Normally, the network interface only corresponds to two data frames, data frames that match the MAC address, and broadcast data frames to all computers.
Data is sent and received by network card, there are generally four reception modes for network CARDS:
Broadcast mode: the network card can receive broadcast information in the network
Multicast mode: the network card can receive multicast data in network
Direct mode: in this mode, only the destination network card can accept the data
Hybrid: the card accepts everything that passes through it, regardless of whether the data is passed to it.
The working principle of this method is that the network card is placed in a hybrid mode, and all packets are captured and data packets are analyzed. There are detailed instructions in the code program.
IpMonDlg. H: first define some protocol related structures and macros. It also states that a thread function is a friendly function that listens for the network datagram.
To Search:
File list (Check if you may need any files):