Sign in to follow this  
Followers 0
25685

Who can help me monitor LAN traffic hurt their example

3 posts in this topic

Who can help me monitor LAN traffic hurt their example

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

WTF are you talking about? Be more specific. Maybe download Ethereal: http://www.ethereal.com/

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0