Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 avoiding work at the Monastery: (13)
As of 2014-07-30 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (240 votes), past polls