摘要: 1. pcap_t* pcap_open_offline(const char* fname, char* errbuf) Open a savefile in the tcpdump/libpcap format to read packets. pcap_open_offline()is cal... 阅读全文
posted @ 2014-04-10 22:30 周卓 阅读(680) 评论(0) 推荐(0) 编辑
摘要: 1. Boost.Filesystem file_size function returns a uintmax_t containing the size of the file named by the argument. The declaration looks like this:uintmax_t file_size(const path& p); 2. For now, all you have to know is that class path has constructors that take const char* and many other useful t 阅读全文
posted @ 2014-04-10 14:00 周卓 阅读(211) 评论(0) 推荐(0) 编辑