Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IP Independent Source Code Examples

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.

IPv6-Enabled Client Code

Provides Windows Sockets client sample code that is IP independent. This is an IPv6-enabled version of the sample code found in IPv4-only Client Code.

IPv6-Enabled Server Code

Provides Windows Sockets server sample code that is IP independent. This is an IPv6-enabled version of the sample code found in IPv4-only Server Code.

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.

Community Additions

ADD
Show:
© 2015 Microsoft