Subject: Re: Proposal: socketfrom()
To: Thor Simon <tls@rek.tjls.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 07/05/2007 08:23:08
On Jul 4, 2007, at 10:38 PM, Thor Lancelot Simon wrote:

> int socketfrom(int template, int domain, int type, int protocol);

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.

-- thorpej