Partager via


TCP/IP Transport (Windows Embedded CE 6.0)

1/5/2010

The TCP/IP transport uses the TCP/IP Protocol for communication between the host computer and the target device over an Ethernet connection. Windows Embedded CE supports a standards-based TCP/IP stack. It enables target devices to participate as peers and servers on local area networks (LANs) and remote networks.

Procedures

To establish a connection to a target device that uses TCP/IP transport

  1. From the Target menu, select Remote Tools, and then select any remote tool.

  2. If the Select a Windows CE Device dialog box appears, click Cancel.

  3. From the Connection menu of the remote tool window, click Configure Windows CE Platform Manager.

  4. From the Windows CE Platform Manager Configuration dialog box, expand the node for the devices that you want to configure.

  5. Select the entry for your device, and then click Properties.

  6. From the Device Properties dialog box in the Transport box, select TCP/IP Transport for Windows CE, and then click Configure.

  7. To have Platform Manager continuously verify that the connection is active, check Check connection status to enable a keep-alive thread.

    You should turn off the keep-alive thread if the target device does not enable interrupts.

  8. To use a fixed IP address, select Use fixed address. Customize time-out and interval settings for the transport, and then click OK.

    The Use fixed address box displays the IP address of the desktop-side end of the connection created by the TCP/IP transport. If the desktop computer has two network cards, you can decide between two IP addresses in the Use fixed address box. You might discover that with one IP address you can establish a connection to the target device, but with the other IP address you cannot.

Note

If the development workstation has a firewall, you cannot connect a remote tool to a target device that uses the TCP/IP transport. The firewall blocks the information that is required to establish the connection. To allow the remote tool to connect to a target device that uses the TCP/IP transport, disable the firewall. Alternatively, when you configure the TCP/IP transport, you can designate a fixed port through which to communicate. After you select a fixed port, configure the firewall to enable information to be received on that port.

  1. To have Platform Manager configure the TCP/IP transport automatically, select Configure automatically over serial.
    The transport will use the Point-to-Point Protocol (PPP) for communication between the host computer and the target device over a serial or infrared connection. PPP is a member of the TCP/IP Protocol suite. A target device running Remote Access Service (RAS) uses PPP to collect data packets from multiple protocols and forward them to the development workstation using PPP links. You must use either ActiveSync or RAS to use the PPP transport.
    To use a remote tool over TCP/IP with the Device Emulator, you must install a network adapter (NIC) on the development workstation. If you do not have a NIC, you can install the Microsoft Loopback Adapter instead. For more information, see Installing the Microsoft Loopback Adapter.
  2. In the Startup Server box, select a startup server.
  3. Choose OK.
    After configuring the connection to the target device, connect to the target device. For more information, see Connecting to a Target Device with a Remote Tool.

See Also

Tasks

Connecting to a Target Device with a Remote Tool

Concepts

Transport Selection

Other Resources

Remote Tool Connectivity
Device Emulator