Simple Echo Client+Server 0.2

Simple Echo Client+Server using the Niels Provos libevent library.
Simple Echo Client+Server using the Niels Provos libevent library.

It can be used to test performance of event retrival mechanism.

About libevent

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, event ports, select, poll and epoll. 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; see Steven Grimm's explanation. Libevent should compile on Linux, *BSD, Mac OS X, Solaris and Windows.

last updated on:
April 8th, 2008, 23:19 GMT
price:
FREE!
developed by:
Davide Libenzi
homepage:
www.xmailserver.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ System Administration

FREE!

In a hurry? Add it to your Download Basket!

user rating 13

3.1/5
 

0/5

Rate it!

Add your review!

SUBMIT