[問題] pcap, pcap.h library
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VS2010, DEV C++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
pcap.h
問題(Question):
我因為要分析wireshark 的pcap檔
目前找到了這個code
http://tinyurl.com/d33yg4l
但是code有include pcap.h
我試過目前手上的編譯器,都沒辦法順利執行
==>" pcap.h ": No such file or directory
上網找了一下都沒有找到解決的辦法,所以想請問版上各位。
或是如果有其他方法可以讓我去用C++環境 read pcap檔,也請各位指教,謝謝。
餵入的資料(Input):
#include <pcap.h>
預期的正確結果(Expected Output):
順利執行
錯誤結果(Wrong Output):
" pcap.h ": No such file or directory
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
http://www.manpagez.com/man/3/pcap_open_offline/
http://social.msdn.microsoft.com/Search/en-US/vstudio?query=pcap_&rq=meta:Search.MSForums.ForumID(805bdc3f-bf13-4784-9e81-548b5030302b)+site:microsoft.com&rn=Visual+C%2b%2b+General+Forum&ac=8
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.217.35
→
12/03 02:09, , 1F
12/03 02:09, 1F
→
12/03 02:11, , 2F
12/03 02:11, 2F
→
12/03 11:48, , 3F
12/03 11:48, 3F
※ 編輯: lammin 來自: 140.112.217.35 (12/04 01:57)
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章