[Winpcap-users] link and speed status

MARMONIER Cédric cmarmonier at ifotec.com
Fri Sep 23 06:48:52 PDT 2011


Ok, thanks ;)


-----Message d'origine-----
De : winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] De la part de Srivats P
Envoyé : vendredi 16 septembre 2011 03:48
À : winpcap-users at winpcap.org
Objet : [Winpcap-users] Re: link and speed status

>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
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users



More information about the Winpcap-users mailing list