c: add epoll sample
c: add libevent sample