I think this is probably the fault of the "if" test in the last block of code which says if !sent && various and so we end up in the else even if bytes were written down the pipe successfully.
In reply to Re: "Operation now in progress" problem with a pipe
by mje
in thread "Operation now in progress" problem with a pipe
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |