Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf committed Jun 18, 2015
1 parent 4c9e744 commit 3343cfd
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,39 @@ handy

###多平台支持

Linux: ubuntu14 64bit g++4.8.1 上测试通过
MacOSX: LLVM version 6.1.0 上测试通过
Linux: ubuntu14 64bit g++4.8.1 上测试通过

MacOSX: LLVM version 6.1.0 上测试通过

###支持优雅退出

优雅退出可以让程序员更好的定义自己程序的退出行为。另外有了优雅退出,则能够更好的借助valrind等工具检查内存泄露。
优雅退出可以让程序员更好的定义自己程序的退出行为

能够更好的借助valrind等工具检查内存泄露。

###高性能

linux上使用epoll
MacOSX上使用kqueue
[http://www.oschina.net/p/c11-handy](http://www.oschina.net/p/c11-handy)
linux上使用epoll

MacOSX上使用kqueue

[http://www.oschina.net/p/c11-handy](http://www.oschina.net/p/c11-handy)

###openssl支持

异步连接管理,支持openssl连接
异步连接管理,支持openssl连接

###protobuf支持

使用protobuf的消息encode/decode示例在protobuf下
使用protobuf的消息encode/decode示例在protobuf下

###简洁

10行代码能够编写一个完整的服务器
10行代码能够编写一个完整的服务器

###代码示例--echo-server

<pre><code>
```c
#include <handy/conn.h>
#include <handy/daemon.h>

Expand All @@ -51,7 +56,7 @@ int main(int argc, const char* argv[]) {
});
bases.loop(); //进入事件分发循环
}
</code></pre>
```
license
====
Expand Down

0 comments on commit 3343cfd

Please sign in to comment.