Nov 14, 2000, 9:48 PM
Post #1 of 2
After I run an accept I want to come out after 3 seconds. Now I need something like a timeout for accept. My code:
timeout for accept
while (defined($buf=<$newchecksock> ))
if($buf eq "ok")
print"everything's ok, Port $portonclient[$i] is open!\n";
How can I create a timeout for this ?
Please help !
Thanks a lot, Holger.