Playing around with libevent.