Network connectivity to the device emulator.

Greetings,

I need to test connectivity to a PocketPC app that has a listening socket. I can' enable the TCP Connect Transport in a computer wich uses a DSL USB modem to access the internet, only in computers wich use a Ethernet adapter. But even in the computers that I can use the TCP transport, I can't get an emulator to connect to another one, even though each one get publicly visible ips outside the network, and they can initiate connections to non-emulators. Can someone give me some pointers to what can be wrong here

Best regards,
Gustavo Guerra



Answer this question

Network connectivity to the device emulator.

  • David Jaco

    You are having way too many networking options for connectivity. The cradling of the emulator over Activesync *and* using the NE2000 adapter are not meant to be used simultaneously. Please disable the NE2000 adapter and just use Activesync over DMA as your connectivity option.

    Then try your scenarios again.



  • Mario Lucin

    There are two ways to get connectivity in the emulator: (a) via Activesync passthrough using an activesync connection with the desktop, and (b) via installing the VM Net Driver (available for download) and then configuring the emulator to use the emulated network card to procure an IP address.

    Once you have successfully done (b), you can check if your emulator has an IP address and is able to send and receive TCP packets. Try opening a website on pocket IE, try accessing a network share, and so forth



  • pehaada

    Hi! I've been working with ovatsus on the same project and I must say that we have experienced some strange phenomenons on this subject.

    We have the same application running on 3 different platforms: a Windows Forms 2.0 Application running on Windows XP (which I will call A) and a .NET Compact Framework 2.0 Device Application running on the Pocket PC 2003 SE emulator (which I will call B) and on the Windows Mobile 5.0 Pocket PC emulator (which I will call C).

    Both emulators are using the TCP Connect Transport and obtain an IP address automatically using ActiveSync. The Virtual Machine Network Driver for Microsoft Device Emulator is installed and each emulator has the NE2000 PCMCIA network adapter enabled and binded to the connected network card.

    Each device emulator has its own IP address and from each one we can access the Internet and browse web pages through Internet Explorer. We can ping each device emulator.

    We have experienced the following conncetivity problem: we can connect to A from B and C, but A can't connect to B or C. In addition, B and C can't connect to each other, although on some occasions we were able to connect to B from C but not the other way around.

  • kids_pro

    Yes, for networking, we only support Ethernet at this time. We *may* have support for USB peripherals in a future release. If the emulator has its own IP address, you should be able to ping it and also trap events using the emulator's eventing interface.



  • Shailendra18

    I can successfully do (b), get an IP address and send and receive TCP packets, but only if the connection is established from the emulator to a real machine, and not from a real machine to the emulator or from an emulator to another emulator. Additionally, I can't do (b) if the machine doesn't have an active ethernet connection.
  • Network connectivity to the device emulator.