EAGAIN The file descriptor fd refers to a file in addition to a socket and continues to be marked nonblocking (O_NONBLOCK), and the write would block. See open up(2) for even further facts over the O_NONBLOCK flag. EAGAIN or EWOULDBLOCK The file descriptor fd refers to the socket and continues https://www.youtube.com/watch?v=9S7-cKLweYE