http://qs321.pair.com?node_id=347464


in reply to Re: Re: block-based programming...
in thread block-based programming...

And I would make a small change on that to use a break and reduce the level of indentation.
while (close(soc) < 0) { if (errno == EINTR) continue; perror("close"); exit 1; }
I hope that's valid C. I don't really use it much.