上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页

2019年6月17日

muduo rpc protobuf 实现学习

摘要: https://blog.csdn.net/nk_test/article/details/72682780 阅读全文

posted @ 2019-06-17 17:12 zhangkele 阅读(690) 评论(0) 推荐(0)

2019年6月14日

p2p nat 穿透原理

摘要: nat 打洞穿透原理,需要服务端。 假设有A、B两个客户端和S一个服务器 Step 1 : A、B发送UDP请求给S,S知道了A、B在公网的IP和端口。 Step 2: A从S中取B在公网的IP和端口。 B从S中取A在公网的IP和端口。 Step 3: A通过B在公网的IP和端口向B发送UDP请求。 阅读全文

posted @ 2019-06-14 09:15 zhangkele 阅读(348) 评论(0) 推荐(0)

博客-livevent-stl-cpp-nginx

摘要: https://blog.csdn.net/move_now/article/category/6420121 阅读全文

posted @ 2019-06-14 05:55 zhangkele 阅读(127) 评论(0) 推荐(0)

2019年6月13日

使用eventfd创建一个用于事件通知的文件描述符

摘要: https://www.jianshu.com/p/57cc1d7d354f nat穿透代码c++ 阅读全文

posted @ 2019-06-13 05:02 zhangkele 阅读(341) 评论(0) 推荐(0)

2019年6月12日

多线程设计的类的思考!

摘要: 有点类似 对象池 的设计方式 需要思考!!!!!!!!!!!!!!!!!!!!!! 阅读全文

posted @ 2019-06-12 17:10 zhangkele 阅读(222) 评论(0) 推荐(0)

2019年6月9日

ftp协议服务器与tinyhttp服务demo

摘要: https://www.jianshu.com/p/fb9fcb69efc9 。。。。。。。 https://www.jianshu.com/p/e9a2e0755496 https://blog.csdn.net/LSKCGH/article/details/74530984 阅读全文

posted @ 2019-06-09 10:55 zhangkele 阅读(260) 评论(0) 推荐(0)

linux 文件结构体和文件描述符号的学习

摘要: https://blog.csdn.net/cywosp/article/details/38965239 阅读全文

posted @ 2019-06-09 10:53 zhangkele 阅读(180) 评论(0) 推荐(0)

muduo 网络库的整体架构图和一个简化版本的架构设计

摘要: https://blog.csdn.net/adkada1/article/details/54342275 简析 https://blog.csdn.net/amoscykl/article/details/83043790 分析 https://blog.csdn.net/qq_38345430 阅读全文

posted @ 2019-06-09 02:07 zhangkele 阅读(510) 评论(0) 推荐(0)

Zookeeper C API的学习 以及样例 很赞

摘要: https://www.cnblogs.com/haippy/archive/2013/02/21/2920280.html 阅读全文

posted @ 2019-06-09 01:33 zhangkele 阅读(279) 评论(0) 推荐(0)

2019年6月6日

memset 在c++中使用细节注意

摘要: C语言,在利用struct进行数据封装时,经常会使用memset(this,0,sizeof(*this))来初始化。而C++中,有时候也会用到struct,在利用memset进行初始化时,非常容易踩坑,有些地方需要注意。 C++利用memset初始化struct注意点1. memset 是按字节对 阅读全文

posted @ 2019-06-06 10:56 zhangkele 阅读(851) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页

导航