Subject: Re: Proposal: socketfrom()
To: Jason Thorpe <thorpej@shagadelic.org>
From: Martin Husemann <martin@duskware.de>
List: tech-net
Date: 07/05/2007 17:28:19
On Thu, Jul 05, 2007 at 08:23:08AM -0700, Jason Thorpe wrote:
> Instead of "socketfrom()", what about "socketlike()"?  That's what  
> you're asking for .. "give me a socket just like this one".  Drop  
> everything except for the "template" argument.  Have it inherit not  
> only options, but also any bind that had been done on the template  
> socket.

I like this variant.

Martin