|
|
Document Details
Libevent
Description: 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.
Currently, libevent supports /dev/poll, kqueue(2), select(2), poll(2) and epoll(4). It also has experimental support for real-time signals. 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.
More information about event notification mechanisms for network servers can be found on Dan Kegel%60s The C10K problem web page. Another library that abstracts asynchronous event notification is liboop (http://www.hackerscenter.com/downloads/download.asp?id=331).
Programs using libevent
The usefulness of libevent API is demonstrated by the following applications:
* Vomit - Voice Over Misconfigured Internet Telephones
* Crawl - A Small and Efficient HTTP Crawler
* Libio - an input/output abstraction library
* Honeyd - a virtual honeynet daemon - can be used to fight Internet worms.
* Fragroute - an IDS testing tool
* Nylon - nested proxy server
* Disconcert - a Distributed Computing Framework for Loosely-Coupled Workstations.
* PLB - pure load balancer: a free high-performance load balancer for Unix.
* Trickle - a lightweight userspace bandwidth shaper.
* Memcached - a high-performance, distributed memory object caching system.
* watchcatd - software watchdog designed to take actions not as drastic as the usual solutions, which reset the machine.
* ScanSSH - a fast SSH server and open proxy scanner.
* Nttlscan - a network topology scanner for Honeyd.
* NetChat - a combination of netcat and ppp%60s chat.
* Io - a small programming language; uses libevent for network communication.
* Tor - an anonymous Internet communication system.
| Name |
Libevent |
| Keywords |
|
| Filesize |
338.87 kB |
| Google Ads |
|
| Filetype |
gz (Mime Type: application/x-compressed-tar) |
| Creator |
Everybody |
| Created On: |
07/09/2005 00:00 |
| Viewers |
Everybody |
| Maintained by |
Zinho |
| Hits |
6 Hits |
| Last updated on |
12/31/1969 16:00 |
| Homepage |
|
| CRC Checksum |
|
| MD5 Checksum |
|
You need to login to download texts/tools. Register here, it's fast and free!
|
|
|