摘要: #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 阅读全文
posted @ 2011-03-10 23:24 OYJJ 阅读(464) 评论(0) 推荐(0) 编辑