Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!samsung!xylogics!world!madd From: madd@world.std.com (jim frost) Newsgroups: comp.unix.questions Subject: Re: Intro to sockets? Message-ID: <1990Mar25.223859.15610@world.std.com> Date: 25 Mar 90 22:38:59 GMT References: <142407@<1990Mar14> <22000006@ux1.cso.uiuc.edu> Organization: Saber Software Lines: 29 Thanks for reposting my primer, but please note that there is a serious bug in the fireman() function. It's defined in the 11/22/89 version as: void fireman() { union wait wstatus; while(wait3(&wstatus,WNOHANG,NULL) >= 0); } It should be: void fireman() { union wait wstatus; while(wait3(&wstatus,WNOHANG,NULL) > 0); } This minor difference results in some pretty dramatic hanging on your server's part in some instances :-). I have a newer version of the tutorial available (Feb something-or-other 1990) which corrects this bug (there may be other differences, I can't remember). Please send requests for the update to jimf@saber.com (..!harvard!saber!jimf). Happy hacking, jim frost saber software jimf@saber.com