25685 Posted August 13, 2007 Posted August 13, 2007 Who can help me monitor LAN traffic hurt their example
25685 Posted August 13, 2007 Author Posted August 13, 2007 Who can help me monitor LAN traffic hurt their example This is the C + + example MIB_IFROW ifMib; MIB_IFTABLE* ifTable = new MIB_IFTABLE[15]; DWORD dwSize = sizeof(MIB_IFTABLE)*15; GetIfTable(ifTable, &dwSize, TRUE); //ifMib.dwIndex = ifTable->table[2].dwIndex ifMib.dwIndex = ifTable->table[netid].dwIndex ; GetIfEntry(&ifMib); NewAllOut=ifMib.dwOutOctets/1024;The flow NewAllIn=ifMib.dwInOctets/1024;Progressive flow
weaponx Posted August 13, 2007 Posted August 13, 2007 WTF are you talking about? Be more specific. Maybe download Ethereal: http://www.ethereal.com/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now