in reply to RTSP/RTP streaming server in Perl!

Have you set 'autoflush' on your IO handle? (see perlipc)

rdfield

Replies are listed 'Best First'.
Re: Re: RTSP/RTP streaming server in Perl!
by amir (Sexton) on Feb 05, 2002 at 04:04 UTC
    select(STDOUT); $| = 1;
    Will the above code do the trick for autoflushing my socket filehandle?
      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