Subject: Re: Proposal: socketfrom()
To: Matt Thomas <matt@3am-software.com>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-net
Date: 07/05/2007 14:04:22
On Thu, Jul 05, 2007 at 11:00:27AM -0700, Matt Thomas wrote:
>
> new_fd = socketclone(int template_fd);
>
> Would be my suggestion. What about non-socket level options (IP, TCP,
> etc.)?
My intent was to copy them across as well. Do I understand correctly
from my earlier discussion of accept() with you that these are in fact
encoded in so_state?
--
Thor Lancelot Simon tls@rek.tjls.com
"The inconsistency is startling, though admittedly, if consistency is to
be abandoned or transcended, there is no problem." - Noam Chomsky