Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can anyone explain to me how bufferevent ( in libevent) works for non-blocking sockets? [closed]

Tags:

c

libevent

The documentation for libevent 2.0 isn't easy to understand. Can anyone point me to a tutorial?

like image 830
BeeBand Avatar asked Jan 27 '26 22:01

BeeBand


1 Answers

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.

like image 139
Peter Downs Avatar answered Jan 31 '26 00:01

Peter Downs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!