<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3019.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>What's the proper way to time out a socket connect 
function, or another syscall? Putting it in a thread and then terminating the 
thread after X seconds leaves zombie processes, wich are not 
good.</FONT></DIV></BODY></HTML>