会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陈晓涛
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
2019年6月5日
解决openwrt应用编译依赖报错
摘要: 转自:https://my.oschina.net/hevakelcj/blog/411944 解决方案一:在 Makefile 中添加 Package/cpp-demo/extra_provides 宏 注意:L184,是 $(Package/$(1)/extra_provides)。也就是说,我
阅读全文
posted @ 2019-06-05 09:59 陈晓涛
阅读(3740)
评论(0)
推荐(0)
2019年5月22日
【转】TCP三次握手四次挥手详解
摘要: 转自:https://www.cnblogs.com/zmlctt/p/3690998.html 相对于SOCKET开发者,TCP创建过程和链接折除过程是由TCP/IP协议栈自动创建的.因此开发者并不需要控制这个过程.但是对于理解TCP底层运作机制,相当有帮助. 而且对于有网络协议工程师之类笔试,几
阅读全文
posted @ 2019-05-22 10:43 陈晓涛
阅读(762)
评论(0)
推荐(0)
2019年5月13日
【转】libevent学习笔记【使用篇】——7. evbuffer:缓冲IO的实用功能
摘要: 转自:http://blog.csdn.net/windeal3203/article/details/52864994 原文:http://blog.csdn.net/windeal3203/article/details/52864994 译自:http://www.wangafu.net/~n
阅读全文
posted @ 2019-05-13 15:01 陈晓涛
阅读(992)
评论(0)
推荐(0)
2019年5月10日
【转】libevent 偏移读取缓存evbuffer_copyout_from
摘要: 转自:https://lizijie.github.io/2018/06/17/libevent-%E5%81%8F%E7%A7%BB%E8%AF%BB%E5%8F%96%E7%BC%93%E5%AD%98evbuffer_copyout_from.html 本文约定的协议包格式 红色区域:表示5个
阅读全文
posted @ 2019-05-10 16:58 陈晓涛
阅读(725)
评论(0)
推荐(0)
libevent粘包分包解决方案:bufferevent + evbuffer
摘要: 转自:http://blog.sina.com.cn/s/blog_9f1496990102vshz.html 原文:http://www.lvtao.net/c/631.html Libevent介绍 libevent是一个事件触发的网络库,适用于windows、linux、bsd等多种平台,内部
阅读全文
posted @ 2019-05-10 11:50 陈晓涛
阅读(6097)
评论(0)
推荐(0)
【转】Libevent触发模式
摘要: 转自:https://blog.csdn.net/u013229693/article/details/52168874 问题: 文档说Libevent默认是LT触发的,但这个说法并不完整。 看以下两段代码: 1. 使用struct event的读回调 voidev_read_cb(evutil_s
阅读全文
posted @ 2019-05-10 10:27 陈晓涛
阅读(509)
评论(0)
推荐(0)
【转】libevent的BufferEvent
摘要: 转自:https://blog.csdn.net/sdoyuxuan/article/details/81634047 buffereventbufferevent介绍 由于我们在网络通信中有很多读写的场景,所以Libevent也提供了相应的bufferevent。这些bufferevent由一个底
阅读全文
posted @ 2019-05-10 10:25 陈晓涛
阅读(1476)
评论(0)
推荐(0)
2019年5月7日
libevent简介
摘要: Libevent 是一个用C语言编写的、轻量级的开源高性能事件通知库,主要有以下几个亮点: 事件驱动( event-driven),高性能;轻量级,专注于网络,不如 ACE 那么臃肿庞大; 源代码相当精炼、易读; 跨平台,支持 Windows、 Linux、 *BSD 和 Mac Os;支持多种 I
阅读全文
posted @ 2019-05-07 15:29 陈晓涛
阅读(842)
评论(0)
推荐(0)
2019年5月6日
【转】sshpass:一个很棒的免交互 SSH 登录工具,但不要用在生产服务器上
摘要: 译自:http://www.tecmint.com/sshpass-non-interactive-ssh-login-shell-script-ssh-password/作者: Aaron Kili原创:LCTT https://linux.cn/article-8086-1.html译者: ge
阅读全文
posted @ 2019-05-06 11:26 陈晓涛
阅读(1283)
评论(0)
推荐(0)
2019年4月25日
Linux下的文件批量转换为UTF8编码-enca
摘要: 一、简介 enca是Linux下的文件编码转换工具。 二、源码包 http://dl.cihar.com/enca/ enca是Linux下的文件编码转换工具。 二、源码包 三、使用方法 enca -L zh_CN file 检查文件的编码 enca -L zh_CN -x UTF-8 file 将
阅读全文
posted @ 2019-04-25 16:01 陈晓涛
阅读(2877)
评论(0)
推荐(1)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
公告