[Winpcap-users] how to detect an idle adapter?
hv at itec-audio.com
Thu Aug 28 04:35:57 UTC 2014
You can use a PacketRequest OID_GEN_MEDIA_CONNECT_STATUS to detect if a cable is connected.
If a connection is established, then you can call PacketGetNetType to detect the LinkSpeed.
Am 26.07.2014 05:38, schrieb Jiyang Hu:
> 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!
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Winpcap-users