Partager via


Windows Sockets Support for IPv6

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

For Winsock IPv6 application development, the following tools are required:

  • Microsoft® Windows SDK (October 2001 or later)
  • Platform Builder OR eMbedded Visual C++ 4.0
  • A device running Windows CE .NET 4.1 or later that includes IPv6 support

Changes to existing Windows Sockets functions for IPv6 are documented in RFC 2553. The IPv6 protocol for Windows Embedded CE supports RFC 2553 except for the following deviations:

  • The header files listed in the RFC do not apply to Windows Embedded CE. The Windows Embedded CE header files are Winsock2.h and Ws2tcpip.h.
  • The Windows Embedded CE socket structure does not include the sa_len member. Therefore, section 3.3 of RFC 2553 applies, but section 3.4 does not.
  • IPv4-mapped addresses, as described in section 3.7 of RFC 2553, are not supported.

The following interface identification functions (described in section 4 of RFC 2553) are not supported:

  • unsigned int if_nametoindex(const char *ifname);
  • char *if_indextoname(unsigned int ifindex, char *ifname);
  • struct if_nameindex *if_nameindex(void);
  • void if_freenameindex(struct if_nameindex *ptr);
  • Sections 6.1 through 6.3 and 6.6 are not supported because they are in the process of being made obsolete by the Internet Engineering Task Force (IETF).

See Also

Concepts

Multiple Transport Protocols
Core Protocols of IPv6

Other Resources