Date: Tue, 17 Jul 2001 00:56:55 +0900 From: itojun@iijlab.net To: Ian Dowse <iedowse@maths.tcd.ie> Cc: freebsd-net@FreeBSD.ORG, Bernd Walter <ticso@mail.cicely.de>, Hajimu UMEMOTO <ume@mahoroba.org> Subject: Re: how to get AF_LOCAL from getaddrinfo() Message-ID: <14832.995299015@itojun.org> In-Reply-To: iedowse's message of Mon, 16 Jul 2001 16:41:40 %2B0100. <200107161641.aa27724@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
i still am not getting your motive... do you have actual applications that use getaddrinfo/getnameinfo for AF_UNIX? >> the change will break a lot of applications. specifically: >Thanks for your comments. I may not have explained this very well; >the proposed change only takes effect when getaddrinfo() is given >a `hints' structure with hints->ai_family set to PF_LOCAL. No >existing applications have any reason to set hints->ai_family to >PF_LOCAL, so they should not see any change in behaviour. i'm sorry. i misread your patch about "explore" portion. but still - how many special case behavior do we want to put? there are a lot of other AFs... which item is included in AF_UNSPEC and which are not? if we want uniformity, we will break existing apps. if we don't want to break existing apps, we need to drop uniformity. it is a hard question to ask... itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14832.995299015>