bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Re: [PATCH] Implement IPv6 capability for the TFTP serve


From: Mats Erik Andersson
Subject: [bug-inetutils] Re: [PATCH] Implement IPv6 capability for the TFTP server.
Date: Wed, 29 Sep 2010 00:21:03 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

tisdag den 28 september 2010 klockan 23:50 skrev Simon Josefsson detta:
> Mats Erik Andersson <address@hidden> writes:
> 
> > My other suggested patching of the TFTP client presently adds
> >
> >      NI_MAXSERV
> >      struct addrinfo
> >      getaddrinfo(3)
> >      gai_strerror(3)
> >      freeaddrinfo(3)
> >      strrchr(3)
> >
> > All these are fulfilled by any decent OS as far as I understand.
> 
> And if they aren't, gnulib fixes that for us.
> 
> However, why do you need NI_MAXSERV?  I can't find it in POSIX nor in
> the Glibc manual.  I'm not sure it is portable.

See getnameinfo(3). The constant ought to be present in <netdb.h>
for every decent OS.


Mats E A



reply via email to

[Prev in Thread] Current Thread [Next in Thread]