admin管理员组

文章数量:1389897

I need to read the packets from my wi-fi interface using the pcap library. I am able to retrieve all the available interfaces with the function pcap_findalldevs_ex, but how should I write a code to programmatically identify my wi-fi device?

I already tried the flag PCAP_IF_WIRELESS, but it identifies any wireless device (bluetooth...), so not just the wi-fi.

本文标签: cHow do I open the wifi device with pcap libraryStack Overflow