Problem with MIB_IFTABLE & MIB_IFROW
Posted
by calvin
on Stack Overflow
See other posts from Stack Overflow
or by calvin
Published on 2010-06-17T11:45:02Z
Indexed on
2010/06/17
12:03 UTC
Read the original article
Hit count: 384
Hello there, Im using MIB_IFTABLE & MIB_IFROW to get the no.of bytes transmitted & received. Everything looks fine, and values are correct in case of using WIFI alone. But when i use vpn connection over wifi these values are not correct for wifi adapter, interestingly i'm getting correct values for vpn adapter. And if i see status of any of these adapters(right click and see status), all these values given by windows are correct. here are my questions. 1) is there any other way of getting no.of bytes transferred over adapter? 2) is there a way to tell whether adapter is vpn or not? (as all vpn adapters are shows as Local Area Connection) 3) If you are connected to VPN, is there a possibility of bytes getting transferred through other than this vpn adapter?(forget about split tunneling, consider very simple case)
i use vs2005, win7,
Im new to these protocols, thanks for any help. -calvin
© Stack Overflow or respective owner