Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Perl Socket time out too small

by bloonix (Monk)
on Oct 24, 2007 at 12:39 UTC ( [id://646885]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sock->timeout(60);
    
  2. or download this
    while ( 1 ) {
        while (my $r = $sock->accept) {
            # process
    ...
            warn "Server runs on a timeout"
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-19 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found