Re: how to get AF_LOCAL from getaddrinfo()

2001-08-01 Thread Assar Westerlund
Ian Dowse <[EMAIL PROTECTED]> writes: > Another important reason to add this feature is for compatibility > with other platforms' getaddrinfo() implementations. I just tried > a random Linux box here, and it seems to have very similar behaviour > to that implemented by my patch. There is also the

Re: how to get AF_LOCAL from getaddrinfo()

2001-07-16 Thread itojun
>>I'd very much like to see PF_LOCAL support added to our getaddrinfo() >>and getnameinfo(). I know that PF_LOCAL sockets have semantics that >Here is quick and simple implementation - any comments welcome. It >probably needs a few changes to match the conventions of other >implementations, and a

Re: how to get AF_LOCAL from getaddrinfo()

2001-07-16 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Ian Dowse writes: > >I'd very much like to see PF_LOCAL support added to our getaddrinfo() >and getnameinfo(). I know that PF_LOCAL sockets have semantics that Here is quick and simple implementation - any comments welcome. It probably needs a few changes to match

Re: how to get AF_LOCAL from getaddrinfo()

2001-07-15 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Bernd Walter writes: >> Our getaddrinfo(3) doesn't support AF_UNIX. > >Arg - I looked into src/contrib/bin/lib/irs/getaddrinfo.c >The one in libc is different... I'd very much like to see PF_LOCAL support added to our getaddrinfo() and getnameinfo(). I know that PF

Re: how to get AF_LOCAL from getaddrinfo()

2001-07-14 Thread Bernd Walter
On Sun, Jul 15, 2001 at 12:42:17AM +0900, Hajimu UMEMOTO wrote: > > On Sat, 14 Jul 2001 13:49:55 +0200 > > Bernd Walter <[EMAIL PROTECTED]> said: > > ticso> ip = "/var/run/something"; portname = "/local"; > ticso> results in: > ticso> getaddrinfo failed: servname not supported for ai_sock

Re: how to get AF_LOCAL from getaddrinfo()

2001-07-14 Thread Hajimu UMEMOTO
> On Sat, 14 Jul 2001 13:49:55 +0200 > Bernd Walter <[EMAIL PROTECTED]> said: ticso> ip = "/var/run/something"; portname = "/local"; ticso> results in: ticso> getaddrinfo failed: servname not supported for ai_socktype ticso> ip = "/var/run/something"; portname = NULL; ticso> results in: