This code sample is named Resolve. It demonstrates how to resolve a host name (for example, www.microsoft.com) into an IP address, or an IP address into a host name.
Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:
C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\resolve
Microsoft Visual Studio 2005 launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).
Enter a host name or an IP address into the upper edit control.
Tap either "IP to Host" or "Host to IP".
The result display in the lower edit control.