<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>You can use a </tt><tt>PacketRequest </tt><tt>OID_GEN_MEDIA_CONNECT_STATUS
to detect if a cable is connected.<br>
If a connection is established, then you can call PacketGetNetType
to detect the LinkSpeed.<br>
<br>
regards<br>
Helmut<br>
<br>
</tt>
<div class="moz-cite-prefix">Am 26.07.2014 05:38, schrieb Jiyang Hu:<br>
</div>
<blockquote
cite="mid:1406345899.33483.YahooMailNeo@web142401.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:14pt">
<div class="" style="">I have two adapters, one is connected to
network and the other is idled (adapter itself enabled but no
RJ45 cable connected). How can I detect this idle one? Calling
pcap_sendpacket() returns successfully even for this idle
adapter - this looks like a bug for me. This idle adapter has
kept IP address from its last use when connected to network so
I can't check if its IP address equals to null to determine.
Any hints? Thanks!</div>
<div class="" style=""> </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Winpcap-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<a class="moz-txt-link-freetext" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
</pre>
</blockquote>
</body>
</html>