Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: RTSP/RTP streaming server in Perl!

by rdfield (Priest)
on Feb 04, 2002 at 09:49 UTC ( [id://143192]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://143192]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-26 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found