Partager via


IP Independent Source Code Examples (Windows Embedded CE 6.0)

1/6/2010

This section shows a rewritten version of IPv4-only Windows Sockets and the sample applications, CeClientApp.cpp and CeServerApp.cpp, that gracefully handle either IPv4 or IPv6. The following list shows the sample source code that this section provides:

  • IPv6-Enabled Client Code (CeClientApp.cpp file)
  • IPv6-Enabled Server Code (CeServerApp.cpp file)

This code exemplifies the guidelines set forth in this conversion guide, and is included to provide source code that has been successfully ported to IPv6. This sample is intentionally simple, but provides a hands-on sample for reviewing. An IPv4 only version of this source code is provided in IPv4-only Source Code Examples.

Comparing the source code in the IPv4-only Source Code Examples to these IP independent source code examples shows the changes necessary to convert your Windows Sockets application to IPv6.

In This Section

  • IPv4-only Source Code Examples
    Provides the source code for the IPv4-only Windows Sockets server samples, CeClientApp.cpp and CeServerApp.cpp, that are used throughout this conversion guide as examples.

See Also

Tasks

How to Convert an Application from IPv4 to IPv4/IPv6