EAGAIN The file descriptor fd refers to your file apart from a socket and continues to be marked nonblocking (O_NONBLOCK), plus the write would block. See open(2) for even more aspects within the O_NONBLOCK flag. EAGAIN or EWOULDBLOCK The file descriptor fd refers to your socket and has been marked https://nonduality.xyz/