libuv
Cross-platform asynchronous I/O
...It provides a consistent event-loop and I/O abstraction layer across a range of systems, making non-blocking operations portable and efficient. Full-featured event loop backed by epoll, kqueue, IOCP, event ports. Asynchronous TCP and UDP sockets. Asynchronous DNS resolution. Asynchronous file and file system operations. File system events, ANSI escape code-controlled TTY. IPC with socket sharing, using Unix domain sockets or named pipes (Windows).