Yes, the code is very similar for Windows NT/2000.  If you want an actual
example of a simple Win2K client/server that uses getaddrinfo to work with
both IPv6 and IPv4, there is code for one available as part of the download
found here: http://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp.
Look in the "sample" directory after you extract the archive.

--Brian

> -----Original Message-----
> From: John Wright [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 05 January, 2001 06:03
> To: Johan Elms�ter
> Cc: [EMAIL PROTECTED]
> Subject: Re: ipv4 app -> ipv6
> 
> 
> I'm going to quote an OpenBSD man page which has an example 
> but I'm pretty
> sure that the code is the same for Windows NT.
> 
> http://www.openbsd.org/cgi-bin/man.cgi?query=getaddrinfo
> 
> That's a man page for the getaddrinfo() function which looks 
> up an address
> you give it and returns all the parameters to socket and connect/bind.
> 
> Search for EXAMPLE for the code.
> 
> On Fri, Jan 05, 2001 at 02:48:35PM +0100, Johan Elms�ter wrote:
> > 
> > Hello I have a client server system (for windows nt) which i have
> > implemented myself in c++ and I am starting to look at how 
> I can convert
> > it from ipv4 to ipv6.
> > 
> > Does anyone know anything about it? Do anyonehave any code 
> examples or do
> > you know about a sight that gives a good view of the problem.
> > 
> > Thanks
> > //Johan
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > The IPv6 Users Mailing List
> > Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> The IPv6 Users Mailing List
> Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to