The 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With