2014年6月4日
摘要: http://blog.csdn.net/litingli/article/details/7315699一步一步开发sniffer(Winpcap+MFC)(三)安得广厦千万间,先画蓝图再砌砖——搭建winpcap抓包框架http://blog.csdn.net/shawngucas/articl... 阅读全文
posted @ 2014-06-04 18:01 chagmf 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1. 复合字面值char *get_status_str(int status){ return (char *[]){"linkdown","partial-linkup","full-linkup","N/A"}[status];} 2. 常量折叠#include int main() { ... 阅读全文
posted @ 2014-06-04 17:58 chagmf 阅读(128) 评论(0) 推荐(0) 编辑