Subject: Re: Proposal: socketfrom()
To: NetBSD Networking Technical Discussion List <tech-net@NetBSD.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-net
Date: 07/05/2007 19:06:56
On Thu, Jul 05, 2007 at 05:54:36PM -0400, Greg A. Woods wrote:
> At Thu, 5 Jul 2007 14:48:34 -0400, David Maxwell wrote:
> Subject: Re: Proposal: socketfrom()
> > 
> > It sounded like Thor's application creates new sockets often enough that
> > it suffer from not having defaults. So, per-process defaults might work
> > in his case, but it's not hard to imagine a more general solution where
> > an application creates two different types of sockets often - maybe even
> > interleaving them - and having to switch the defaults back and forth
> > every time wouldn't help much.
> 
> I'm having a bit of a hard time imagining such an application....  :-)

Hint: if I understand it correctly, your proposal would break the
resolver library.

Thor