Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 20:02:39 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        G-der <gder@gder.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Properly reaping children from a fork()
Message-ID:  <Pine.GSO.4.44.0302241959160.29367-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <20030224183953.GB80651@gder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Feb 2003, G-der wrote:

> I've attached the code for your enjoyment...I'm sure someone will be able
> to point out my mistake pretty quickly.  Also I've found a couple of web
> pages that kind of explain socket handling but am looking for other
> resources that I can consult.

You never establish the signal handler.

> Thanks in advance, I'm not a normal subscriber to -hackers so a cc to
> gder@gder.net would be appreciated.

If you've got a bit of spare cash, you might want to peruse a couple of
excellent texts: Advanced Programming in the Unix Environment (APUE) and
Unix Network Programming (particularly volume 1); both by the late W.
Richard Stevens. Well worth the money (and you'll probably receive
several recommendations along the same lines).

Cheers,
jan

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
You know something's gone badly wrong when your algorithm
takes O(n^2) time but uses O(2^n) space.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0302241959160.29367-100000>