[Winpcap-users] Re: link and speed status

Srivats P pstavirs at gmail.com
Thu Sep 15 18:47:50 PDT 2011


>Hello,
>I would like to know if it is possible to detect the link status and the speed of the connection ?

You can use the packet.dll API - PacketRequest() with the following OIDs -
OID_GEN_MEDIA_CONNECT_STATUS
OID_GEN_LINK_SPEED

For an example, you can see the WinPcapPort::linkState() function in
http://code.google.com/p/ostinato/source/browse/server/winpcapport.cpp

Please note that the packet.dll APIs are _unsupported_ and may change
at any time.

Srivats


More information about the Winpcap-users mailing list