EAGAIN The file descriptor fd refers into a file apart from a socket and has become marked nonblocking (O_NONBLOCK), along with the write would block. See open(two) for more particulars about the O_NONBLOCK flag. EAGAIN or EWOULDBLOCK The file descriptor fd refers to some socket and has become marked nonblocking https://awakening-mind.org/resources/a-course-in-miracles/