|
Hi there Not sure if you answer Perl Questions or not but if
so I have a simple one for you.
I'm looking at the timeout feature of a IO::Socket call. what
I'm wondering is do I create a time out by doing the following?
$sock =
IO::Socket::INET->new(Listen =>
5,
LocalAddr => 'localhost', LocalPort => 9000, Proto => 'tcp'
Timeout =>
'30'
);
for a 30 second timeout???
if this is incorrect could you show how it's done?
thanks..
|
