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

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

by Anonymous Monk
on Nov 18, 2009 at 21:01 UTC ( #808026=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?

@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?
Re^3: Chunked unix socket file reading - how?
by snoopy (Deacon) 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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-09-22 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (192 votes), past polls