码迷,mamicode.com
首页 >  
搜索关键字:libevent jsoncpp    ( 1011个结果
RTPS代理与转发服务
Proxy介绍 利用libevent实现网络连接和线程池。通过tcp连接的方式实现rtsp消息转发,再通过udp连接进行rtp与rtcp转发。报文解析使用到了Qt库。请尽量使用qmake进行编译。源码 通讯时序图 RTSP协议介绍 RTSP协议是一套用来进行音视频发送与接收的网络协议,与HTTP协议 ...
分类:其他好文   时间:2020-07-26 19:16:16    阅读次数:85
libevent简介[翻译]7
http://www.wangafu.net/~nickm/libevent-book/Ref4_event.html 使用事件 libevent操作的单元是event,每一个event都代表了一组条件: 一个文件描述符可读或是可写 一个文件描述符变成可读或是可写(边界触发模式) 超时 信号中断 自 ...
分类:其他好文   时间:2020-07-01 17:28:09    阅读次数:44
error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such file or directory
hiredis 的应用程序出错。 ./example-libevent: error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such file or directo ...
分类:其他好文   时间:2020-07-01 13:03:53    阅读次数:97
ubuntu环境下编译bitcoin(比特币)全过程
1.首先从github上clone最新的bitcoin源代码 git clone https://github.com/bitcoin/bitcoin.git 2.进入clone下来的代码目录,查看当前版本(这里我切换到了v0.20.0版本) cd ./bitcoin git tag -l git ...
分类:系统相关   时间:2020-06-30 12:58:32    阅读次数:110
Memcached 服务特点及工作原理是什么?
a、完全基于内存缓存的 b、节点之间相互独立 c、C/S 模式架构,C 语言编写,总共 2000 行代码。 d、异步I/O 模型,使用 libevent 作为事件通知机制。 e、被缓存的数据以 key/value 键值对形式存在的。 f、全部数据存放于内存中,无持久性存储的设计,重启服务器,内存里的 ...
分类:系统相关   时间:2020-06-26 13:06:05    阅读次数:79
LSQUIC
要构建LSQUIC,您需要CMake,zlib和BoringSSL。该示例程序使用libevent提供事件循环。 BoringSSL git clone https://boringssl.googlesource.com/boringssl cd boringssl; mkdir build; c ...
分类:其他好文   时间:2020-06-20 01:26:45    阅读次数:89
Centos7 上安装 FastDFS
1、安装gcc(编译时需要) FastDFS是C语言开发,安装FastDFS需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc yum install -y gcc gcc-c++ 2、安装libevent(运行时需求) 若安装了桌面图形界面,就不需要安装;Fas ...
分类:其他好文   时间:2020-06-19 15:38:08    阅读次数:41
高性能I/O框架库Libevent
Linux服务器程序必须处理三类事件,I/O事件、信号和定时事件。在处理这三类事件时我们通常需要考虑如下三个问题: 统一事件源,即统一处理这三类事件,一般利用I/O复用系统调用来实现。 可移植性,不同操作系统具有不同的I/O复用方式。 对并发编程的支持,在多进程和多线程环境下,我们需要考虑各执行实体 ...
分类:其他好文   时间:2020-06-12 00:43:59    阅读次数:62
开发环境
开发环境说明 linux系统:ubuntu18.04 libevent版本:2.1.8 1 安装依赖环境 apt-get install perl g++ make automake libtool unzip2 zlib编译 tar -xvf zlib-1.2.11.tar.gz cd zlib- ...
分类:其他好文   时间:2020-06-07 13:09:50    阅读次数:77
编译测试程序
#include <event2/event.h> #include <iostream> using namespace std; int main() { cout << "test libevent.\n"; event_base * base = event_base_new(); if ( ...
分类:其他好文   时间:2020-06-07 12:46:53    阅读次数:52
1011条   上一页 1 2 3 4 ... 102 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!