Subject: Re: Proposal: socketfrom()
To: Matthias Scheler <tron@zhadum.org.uk>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 07/05/2007 08:20:22
On Jul 5, 2007, at 4:50 AM, Matthias Scheler wrote:

> On Thu, Jul 05, 2007 at 01:38:05AM -0400, Thor Lancelot Simon wrote:
>> int socketfrom(int template, int domain, int type, int protocol);
>
> Is there any other useful application than using this for outbound
> connection?
>
> If there isn't what about this:
>
> int connectfrom(int template, int domain, int type, int protocol,
>                struct sockaddr *name, socklen_t namelen);

I'm not sure "connectfrom()" is a great name for this.  It makes it  
sound more like a bind / connect in one call.

>
>
> 	Kind regards
>
> -- 
> Matthias Scheler                                  http:// 
> zhadum.org.uk/

-- thorpej