如何编译和安装libevent 编译和安装步骤: $ apt-get install git $ git clone https://github.com/libevent/libevent.git $ cd libevent $ apt-get install cmake $ apt-get install libssl-dev $ mkdir build && cd build $ cmake .. # Default to Unix Makefiles. $ make $ make verify # (optional) $ make install一些学习文档: Fast portable non-blocking network programming with Libevent: http://www.wangafu.net/~nickm/libevent-book/ libevent-examples: https://github.com/jasonish/libevent-examples multi-thread libevent: