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

@snoopy: timeout on can_read() is in seconds, not ms! Had more success with can_read(1), e.g.
  • Comment on Re^2: Chunked unix socket file reading - how?

Replies are listed 'Best First'.
Re^3: Chunked unix socket file reading - how?
by snoopy (Curate) on Nov 18, 2009 at 21:59 UTC
    Quite right. IO::Select, passes the timeout straight through to the select function, which expects the units to be seconds, and can accept fractional quantities (e.g. 0.5).

    I've updated the code above.