First example of synchronous IO from libevent documentation