O_NDELAY
if ( fcntl( listen_fd, F_SETFL, flags | O_NDELAY ) < 0 )
newflags = flags | (int) O_NDELAY;
newflags = flags & ~ (int) O_NDELAY;