in reply to Re: Win32: Redirect STDOUT to socket
in thread Win32: Redirect STDOUT to socket

Doesn't work for me. After trying your suggestions, it still stalls. I have tried placing after open:
use IO::Handle; STDOUT->autoflush(1);

and even
select((select(STDOUT), $| = 1)[0]);

to no avail.