大龙的博客

常用链接

统计

最新评论

02 2009 档案

[C++]static 不同情况下的修饰作用域

posted @ 2009-02-27 17:46 大龙 阅读(676) | 评论 (0)  编辑

boundcheck valgrind 查出的内存问题。 --------- 他没报错误也不能代表没有错,他报错误那代表一定有错

posted @ 2009-02-27 15:06 大龙 阅读(388) | 评论 (0)  编辑

Address 0x4F228DC is 36 bytes inside a block of size 51 alloc'd -------- 第36个字节之后有东西没初始化

posted @ 2009-02-27 15:00 大龙 阅读(5832) | 评论 (2)  编辑

valgrind memcheck 错误分析收藏 -------- 转

posted @ 2009-02-27 11:38 大龙 阅读(2372) | 评论 (0)  编辑

valgrind --tool=memcheck ./ConnectServer

posted @ 2009-02-26 12:24 大龙 阅读(255) | 评论 (0)  编辑

epoll_wait一直会监听epollerr,在epoll_ctl()中添加不添加这个事件无所谓

posted @ 2009-02-23 14:12 大龙 阅读(1176) | 评论 (0)  编辑

用epoll_wait做可写检查,用getsockopt检查是否已连接成功

posted @ 2009-02-19 18:25 大龙 阅读(404) | 评论 (0)  编辑

C++类模板的成员函数模板写法收藏 ---------- 转

posted @ 2009-02-06 21:05 大龙 阅读(8201) | 评论 (2)  编辑

模板元 --------- 转

posted @ 2009-02-06 20:43 大龙 阅读(226) | 评论 (0)  编辑

模板特化,全特化,偏特化,全部特化,部分特化的含义 ------------ 转

posted @ 2009-02-06 20:22 大龙 阅读(2862) | 评论 (1)  编辑

C++类模板的特化方法 --------- 转

posted @ 2009-02-06 20:21 大龙 阅读(703) | 评论 (0)  编辑

Linux操作系统下TCP keepalive属性查看

posted @ 2009-02-05 11:06 大龙 阅读(730) | 评论 (0)  编辑

Windows XP 网络共享问题--开启高级共享

posted @ 2009-02-04 12:20 大龙 阅读(2765) | 评论 (0)  编辑