Running the SimpleClient and SimpleServer Applications (Windows CE 5.0)
This procedure describes how to execute the client and server code that you created in How to Convert an Application from IPv4 to IPv4/IPv6. Running the applications demonstrates IPv4 communication between the IPv4-only client and server.
Perform these steps after you attach the Client and Server run-time images to the CEPCs. You will run the commands from the Target Control window, and see the output on the Debug tab of the Output window.
Note If you have a DNS/WINS server available on your network, you can set a unique network name for the Windows CE-based device that is running the server from the Windows CE system control panel. You can then run the client against the server by using name of the server device instead of the IPv4 address of the device.
To run the Client and Server Code
- In the Platform Builder session that contains the Server:
- From the Target Control window, type s ipconfig /d. Make note of the server's IP address.
- From the Target Control window, type s simpleserver.
- In the Platform Builder session that contains the Client, from the Target Control window, type s simpleclient <server ip address>.
The debug information is listed in the Debug tab of the Output window. The following messages shows that you have successfully run these applications:
SUCCESS -- Sent 23 bytes to address <server IP address>
SUCCESS -- Sent 23 bytes back from address <server IP address>
Send Feedback on this topic to the authors