Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: TCP Server timeout

by jethro (Monsignor)
on Feb 22, 2010 at 23:07 UTC ( [id://824731]=note: print w/replies, xml ) Need Help??


in reply to TCP Server timeout

There is a timeout parameter you can pass to IO::Socket::INETs constructor (at least in the current version).

And there is IO::Socket::INET::Daemon, a simple tcp daemon, also with a timeout parameter. ...Daemon seems to be dependent only on IO::Socket::INET and IO::Select.

And you might use IO::Select directly to add a timeout to your server code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found