18 May
2005
18 May
'05
12:40 p.m.
On Wed, May 18, 2005 at 12:25:11PM +0200, Balazs Scheidler wrote:
Hi,
Thanks for the contribution to syslog-ng and sorry for not answering so long.
The problem I have with your patches that I'd prefer not to rely on getaddrinfo() functions as I'm a bit afraid of portability issues. Are there any other way (with gethostbyaddr for example) to determine network local name?
Hi, gethostbyaddr is fine too. It does the same thing as getaddrinfo. We could also use gethostname and append the result from getdomainname to it, but POSIX does not specify the *domainname functions. I'll modify the patch to use gethostbyaddr instead of getaddrinfo when I'm back at home. Cheers, Sven -- Sven Wegener Gentoo Linux Developer http://www.gentoo.org/