epoll programming practise