摘要:
#define HAVE_REMOTE#include "pcap.h"#include <list>#include <iostream>using namespace std;int _tmain(int argc, _TCHAR* argv[]){ pcap_if_t* alldevs; list<pcap_if_t> devices; char errbuf[PCAP_ERRBUF_SIZE]; //枚举本地计算机的网卡 if(pcap_findalldevs_ex(PCAP_SRC_IF_STRING,NULL,&all 阅读全文