01-04-08 12:23 AM
On Jan 3, 5:23=A0pm, dj3va...@csclub.uwaterloo.ca.invalid wrote:
> In article <877iiqlgk0....@fever.mssgmbh.com>,
> Rainer Weikusat =A0<rweiku...@mssgmbh.com> wrote:
>
>
>
> I find that, at least in this case, the additional effort is negative.
>
> dave
> (if it ALWAYS worked that way, the world would be a much better place)
I do know getaddrinfo() and getnameinfo() should be used whenever
possible
since they are protocol-independent and gethostbyname() will probably
be
removed in the future POSIX specs. However, here I'm talking about an
exercise in UNPv1. I'm curious why the solution conflicts what's
claimed
in the text?
Thanks for the discussion anyway.
Jingjing
[ Post a follow-up to this message ]
|