umask($old_umask);
printf("Blocking mode (listen): %d\n", $blocking_mode);
stream_set_blocking($list, $blocking_mode); // Set the stream to non-blocking
umask($old_umask);
printf("Blocking mode (listen): %d\n", $blocking_mode);
stream_set_blocking($list, $blocking_mode); // Set the stream to non-blocking