Re: squid rewrite

From: Andres Kroonmaa <andre@dont-contact.us>
Date: Tue, 10 Jun 1997 10:57:34 +0200 (EETDST)

> > > Above ideas are sound enough, except you can't pass accept'ed
> > > sockets between 2 running processes. This means that much of your model
> > Depending on the version of unix you're using, see
> > unix(4) (SCM_RIGHTS)
> > or
> > streamio(7) (I_SENDFD)
>
> Munch, munch (humble pie). Learning all the time... :)
>
> What happens when the sender closes the FD at it's end? Is this
> defined? Further, how portable is this really going to be?

    Why not call listen() before forking, and call accept() from a child???

-------------------------------------------------------------------
 Andres Kroonmaa Telefon: 6308 909
 Network administrator
 E-mail: andre@ml.ee Phone: (+372) 6308 909
 Organization: MicroLink Online
 EE0001, Estonia, Tallinn, Sakala 19 Fax: (+372) 6308 901
-------------------------------------------------------------------
Received on Tue Jul 29 2003 - 13:15:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:20 MST