Re: getaddrinfo() & getnameinfo() on W2K

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: dave (dave_at_discussions.microsoft.com)
Date: 06/30/04


Date: Wed, 30 Jun 2004 12:39:03 -0700


"Gisle Vanem" wrote:

> "dave" wrote:
>
> > Does somebody know
> > if getaddrinfo() & getnameinfo() can be used on W2K ?
> >
> > When I'm using these functions there is error: unresolved external symbols
> >
> > Should I include links to Some.lib ?
> > or there are alternatives to these functions ?
>
> Do a "#include <wspiapi.h>" after <ws2tcpip.h> and you should be
> okay. Thus getnameinfo() translates to WspiapiGetNameInfo()
> which isn't IPv6 aware btw.
>
> --gv
>

  Thanks for tip.
   it builds without errors.

   But I had include both
                wspiapi.h and ws2tcpip.h
   that come with SDK.

   dave
  
  
   

  



Relevant Pages

  • Re: panic: mutex inp not owned at /usr/src/sys/netinet/tcp_output.c:140
    ... BTW, can this console message help you? ... I'm testing NFS over IPv6 again, but it looks Alfred did not fix yet... ...
    (freebsd-current)
  • Re: [PATCH 2.6.17-rc6-mm1 ] net: RFC 3828-compliant UDP-Lite support
    ... to the IPv4 networking stack. ... Plase do the ipv6 side. ... BTW, is it possible to do merge or share codes among the following things? ...
    (Linux-Kernel)
  • Re: OT: Q: ntlworld uploading files
    ... Phis Fliuch" translates to? ... Plenty to choose from at http://www.thesession.org/tunes/display/879 ... BTW, what were the keys on the three-row in last Friday? ...
    (uk.rec.sheds)
  • Re: a new entry to the blog
    ... *Goromoff* expressed precisely: ... comments and further advice always welcome! ... btw. ... It actually translates in Vietnamese as "Happy Buddha" ...
    (uk.people.silversurfers)
  • Re: Miniport Adapter...
    ... Perfect Wes! ... Btw, does this mean that sometime that I just don't remember that I must ... have used control panel to add IPv6 and just don't remember it? ... something else that I might have been doing that brought IPv6 along with it? ...
    (microsoft.public.windowsxp.help_and_support)