Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: Chunked unix socket file reading - how?

by Anonymous Monk
on Nov 18, 2009 at 20:26 UTC ( #808017=note: print w/replies, xml ) Need Help??

in reply to Re: Chunked unix socket file reading - how?
in thread Chunked unix socket file reading - how?

Mmmh. Everything looked as if your code is *the solution*. Then came testing....

I still get these looong reads that completely timeout/block my cgi. Some connects work, a few times and then, nirvana. The cgi immediately returns when I kill the vlc process on the server side.

Somehow I wonder if it's really my read that doesn't return or some hickup on the vlc side.
  • Any tips on how I could make my socket reading/connection more robust, so that it cares less about stale sockets? (socat never seems to care..)
  • Should I issue the "logout" command vlc provides inside the rc session on each socket connect-command-read-"logout" cycle via my cgi (this cgi will never see much hits) So that vlc knows better: "this client is connecting, asking one thing, then disconnects"? (I know this is lsightly off-perl-topic)
  • Comment on Re^2: Chunked unix socket file reading - how?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://808017]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2018-06-24 02:40 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.