Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Checking if a non-blocking socket is active

by rcaputo (Chaplain)
on Oct 09, 2009 at 17:59 UTC ( [id://800351]=note: print w/replies, xml ) Need Help??


in reply to Checking if a non-blocking socket is active

You should be able to use select() or IO::Select with a zero timeout to poll for data socket activity (inclusing closure). Ideally you should use it with a timeout when you're waiting for socket input.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found