in reply to SIGCHLD interrupting accept call?
HTH! /dempa## Infinite loop while(1) { for($waitepid = 0; ($clientaddr = accept(SOCK_CLNT,SOCK_SRV) || $wai +tepid); $waitepid = 0, close(SOCK_CLNT)) { next if $waitepid and not $clientaddr; ## do things... } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: SIGCHLD interrupting accept call?
by ZZamboni (Curate) on May 09, 2000 at 17:25 UTC |