work with epoll, mmap, socket