The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts. libevent is meant to replace the event loop found in event driven network servers. An application just needs to call event_dispatch() and then add or remove events dynamically without having to change the event loop. The internal event mechanism is completely independent of the exposed event API, and a simple update of libevent can provide new functionality without having to redesign the applications. As a result, Libevent allows for portable application development and provides the most scalable event notification mechanism available on an operating system. Libevent can also be used for multi-threaded applications, either by isolating each event_base so that only a single thread accesses it, or by locked access to a single shared event_base.

Features

  • Libevent should compile on Linux, BSD, Mac OS X, Solaris, Windows
  • Libevent additionally provides a sophisticated framework for buffered network IO
  • Libevent includes support for several useful protocols
  • Support for sockets, filters, rate-limiting, SSL, and zero-copy file transmission
  • A mailing list for libevent is now available
  • The libevent port in vcpkg is kept up to date by Microsoft team members and community contributors

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow libevent

libevent Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libevent!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Libraries

Registered

2021-07-30