kevin55

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年8月17日

摘要: 说起qt,大学时就有接触,但一直没有深入,这个周六周天利用两于时间重新温习了一下,跟之前用过的vs上的MFC、C++ builder比起来,Qt封装很人性化,库也比较全,写个一般的小工具很轻松。 参考的教程为:Qt快速入门系列教程目录, 很详细很实用(除了一些插图说明看不了)导语 该系列教程是基... 阅读全文
posted @ 2014-08-17 16:36 kernel_main 阅读(482) 评论(0) 推荐(0) 编辑

2014年7月15日

摘要: #include #include using namespace std;using namespace boost::asio;void client(io_service &ios){ try { cout str(100,0); sock.read_... 阅读全文
posted @ 2014-07-15 23:39 kernel_main 阅读(1006) 评论(0) 推荐(0) 编辑

2014年7月8日

摘要: 1 CUR_DIR = $(shell pwd) 2 3 CFLAGS = -g -Wall 4 GCC = gcc 5 GXX = g++ 6 7 TARGET = exe.out 8 9 SRC_FILES += $(shell find $(CUR_DIR) -name *.cc) \... 阅读全文
posted @ 2014-07-08 23:20 kernel_main 阅读(928) 评论(0) 推荐(0) 编辑

2014年7月2日

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include "packet_header.h" 10 #include 11... 阅读全文
posted @ 2014-07-02 23:56 kernel_main 阅读(1025) 评论(0) 推荐(0) 编辑

2014年6月30日

摘要: http://cs.baylor.edu/~donahoo/practical/CSockets/http://www.nsnam.org/ http://www.nsnam.org/docs/doxygen/modules.html 阅读全文
posted @ 2014-06-30 22:49 kernel_main 阅读(202) 评论(0) 推荐(0) 编辑

2014年6月23日

摘要: 第一部分:PCAP包文件格式一基本格式:文件头数据包头数据报数据包头数据报......二、文件头:文件头结构体sturctpcap_file_header{DWORDmagic;DWORDversion_major;DWORDversion_minor;DWORDthiszone;DWORDsigf... 阅读全文
posted @ 2014-06-23 00:18 kernel_main 阅读(30540) 评论(0) 推荐(0) 编辑

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include "packet_header.h" 6 7 #define MAXBYTE2CAPTURE 2048 8 9 int isprint(char c) 10 {... 阅读全文
posted @ 2014-06-23 00:14 kernel_main 阅读(2604) 评论(0) 推荐(0) 编辑

2014年6月9日

摘要: 1 #include 2 #include 3 4 using namespace std; 5 using namespace boost::asio; 6 7 int main() 8 { 9 try10 {11 cout 2 #include 3 ... 阅读全文
posted @ 2014-06-09 23:36 kernel_main 阅读(2290) 评论(0) 推荐(0) 编辑

摘要: 1 /************************************************************************/ 2 /*功能描述: boost thread使用实例 */ 3 ... 阅读全文
posted @ 2014-06-09 22:52 kernel_main 阅读(355) 评论(0) 推荐(0) 编辑

2014年6月8日

摘要: 1 /************************************************************************/ 2 /*功能描述: boost exception使用实例 */ 3 /*... 阅读全文
posted @ 2014-06-08 19:54 kernel_main 阅读(2094) 评论(0) 推荐(0) 编辑