can anyone explain to me how bufferevent ( in libevent) works for non-blocking sockets? [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this questionThe documentation for libevent 2.0 isn't easy to understand. Can anyone point me to a tutorial?
http://www.wangafu.net/~nickm/libevent-book/
is a great tutorial on libevent, with loads of examples. As a bonus, it's written by Nick Mathewson, one of the two maintainers of the libevent project.
For bufferevents, you can look at the basics as well as the advanced bits.
精彩评论