p4raw-id: //depot/perl@3087
$listen = IO::Socket::INET->new(Listen => 2,
Proto => 'tcp',
- Timeout => 2,
+ # some systems seem to need as much as 10,
+ # so be generous with the timeout
+ Timeout => 15,
) or die "$!";
print "ok 1\n";
# Test various other ways to create INET sockets that should
# also work.
-$listen = IO::Socket::INET->new(Listen => '', Timeout => 2) or die "$!";
+$listen = IO::Socket::INET->new(Listen => '', Timeout => 15) or die "$!";
$port = $listen->sockport;
if($pid = fork()) {