'pcap_findalldevs_ex' : undeclared identifier
'PCAP_SRC_IF_STRING' : undeclared identifier
解决方法:
#include "pcap.h"
#include "remote-ext.h"
本文解决了在使用pcap库过程中遇到的'pcap_findalldevs_ex'和'PCAP_SRC_IF_STRING'未声明的问题。通过包含必要的头文件pcap.h和remote-ext.h来解决该问题。
'pcap_findalldevs_ex' : undeclared identifier
'PCAP_SRC_IF_STRING' : undeclared identifier
解决方法:
#include "pcap.h"
#include "remote-ext.h"

被折叠的 条评论
为什么被折叠?
