Compartilhar via


Testing a Network Interface by Using the Winsock Performance Test (Windows CE 5.0)

Send Feedback

You can use the Winsock Performance Test to test any network interface that Winsock supports. Use the following procedure for testing an Ethernet network interface as a model for testing the network interface that you want to test.

The following table shows the hardware requirements for using the Winsock Performance Test to test an Ethernet network interface on a Windows CE–based device.

Requirements Description
Windows CE–based device with one network card A Windows CE-based device with one network interface installed.

You can optionally install a second network interface over which the Windows CE–based device communicates with the development workstation running Microsoft Platform Builder and the CETK.

Supporting desktop computer with one network card A Windows–based desktop computer that functions as a supporting desktop computer. On the supporting desktop computer, install an Ethernet network interface that communicates with the tested network interface on the Windows CE–based device.

Connect the Ethernet network interface on the Windows CE–based device to a switch to which you also connect the Ethernet network interface for the supporting desktop computer. If the tested interface is a 100-megabits per second (Mbps) adapter, use a 100-Mbps switch and use a 100-Mbps adapter on the supporting desktop computer.

Alternatively, use an Ethernet crossover cable to connect the Ethernet interface on the Windows CE–based device to the Ethernet interface for the supporting desktop computer.

Optionally, you can use the development workstation on which Platform Builder is installed as the supporting desktop computer. Install two network interfaces on the development workstation. One network interface is the supporting network interface that communicates with the Windows CE–based device. The second network interface is the interface over which Platform Builder and the CETK communicate with the Windows CE–based device.

Ethernet hub or switch, or Ethernet crossover cable If you use a hub or switch, connect to the hub or switch only the target device being tested, the supporting desktop computer, and any other device required by the test. Test results can be significantly affected by sharing the network connection with devices other than those devices used in the test.

To test a network interface by using the Winsock Performance Test

  1. Copy the Perf_winsockd2.exe file from <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop to the supporting desktop computer.

  2. On the supporting desktop computer, run the following command:

    perf_winsockd2 -debug
    
  3. On the Windows CE–based device, run the following command:

    tux -o -d perf_winsock2 -x 1001 -c"-s <server_ip> -i <ip_version>"
    

    - or -

    If the CETK is connected to the Windows CE–based device, in the Windows CE Test Kit window, append -x 1001 -c"-s <server_ip> -i <ip_version>" to the default command line for the test, and then run the test.

Note   If desired, you can append

-q <udp_recv_queue>

to the above commands to set the UDP receive queue size.

For information about editing the command line for a test, see Editing the Command Line for a Test. For information about running a single test, see Running a Single Test in the CETK.

See Also

Winsock Performance Test | Viewing Test Results for the Winsock Performance Test | Command-Line Parameters for the Winsock Performance Test | Testing a Gateway by Using the Winsock Performance Test

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.