in reply to Re: RTSP/RTP streaming server in Perl!
in thread RTSP/RTP streaming server in Perl!

select(STDOUT); $| = 1;
Will the above code do the trick for autoflushing my socket filehandle?

Replies are listed 'Best First'.
Re: Re: Re: RTSP/RTP streaming server in Perl!
by rdfield (Priest) on Feb 05, 2002 at 09:29 UTC
    Nope. That'll autoflush STDOUT: replace STDOUT with whatever name you've given your socket handle, and add select(STDOUT); after the $| = 1; which will reset the default filehandle.

    rdfield