Log in

View Full Version : Fundamental ActiveSync networking differences between WM5 and prev. WM versions


Menneisyys
02-18-2006, 03:59 PM
In my previous article on the secrets of ActiveSync-based Pocket PC networking (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=343&more=1), I've elaborated on the pre-Windows Mobile 5 Internet pass-through capabilities of ActiveSync.

As has been stated there, the ActiveSync Internet pass-through is in no way a full-fledged Internet connection. In no way can you access a Pocket PC through a simple, plain ActiveSync connection as a TCP/IP device.

With Windows Mobile 5 (WM5 for short) devices, the situation has changed a lot. Now, they're recognized as an entirely different, fully-fledged network card by Windows, as can be seen in this screenshot (http://www.winmobiletech.com/kuvat/WinNetworkConnections.bmp.png).

Also, if you, with, say, the great, (for individuals) free networking utility, vxUtil, check the IP it got from ActiveSync (http://www.winmobiletech.com/kuvat/HTCWizardCurrentIP.bmp.png) of your Pocket PC, you will see that it's no longer 192.168.55.101 (the IP ActiveSync gives to pre-WM5 devices) but a "true" local network IP; in this case, 169.254.2.1. The services of this PDA will, therefore, be fully accessible to your desktop computer (in this screenshot (http://www.winmobiletech.com/kuvat/PingingHTCWizardThruAS.bmp.png), you can see I can directly ping my WM5 PDA from my desktop computer) and, if you configure your desktop computer to forward ports (please read my previous article on the meaning of this!) to the PDA, to the entire outside world.

This means Windows Mobile 5 devices connected to desktop Windows PC's via ActiveSync are, now, fully accessible by TCP/IP-based applications. You don't need to build a(n additional) Bluetooth PAN or ad-hoc Wi-Fi connection between the two devices any more for the Pocket PC to become accessible.

The importance of this can't be stressed enough: a lot of - with pre-WM5 devices totally impossible - tasks become really easy:


* you can run applications on your Pocket PC that behave like a server: for example, a lot of peer to peer (non-central server based), TCP/IP-based multiplayer games (http://www.pocketpcmag.com/blogs/menneisyys/102005MPPPCGames.asp)
chatter/VoIP applications like the very good Microsoft Portrait (http://www.pocketpcmag.com/blogs/index.php?cat=158)

* IRC clients with fully usable DCC capabilities (http://www.pocketpcmag.com/blogs/menneisyys/112005IRCClients.asp) (without full, unrestricted Internet access, it's not possible to initiate DCC send/chat requests from the PDA)

* FTP/Web servers for remote access (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=508&more=1)

* remote, TCP/IP-based Pocket PC controllers (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=514&more=1) like SOTI's Pocket Controller, PocketVncServ, dotPocket and Microsoft Windows Mobile Developer PowerToys. Now, if your mate/client has a problem with his/her Pocket PC, you will be able to access it distantly without his explicitly logging in to a, say, unrestricted Wi-Fi network. All he'll need to do is doing some port forwarding with either WinGate or the built-in, free Windows Internet Connection Sharing to connect it to the Internet through his desktop computer.

* Sharing the Internet (say, Wi-Fi) connection present on your PDA with the not directly internet-enabled desktop via my Web proxy server running on the Pocket PC as described here (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=453&more=1)


And, the list continues...

Please note that you will still need to configure port forwarding (which is in detail explained in my previous, networking-related article (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=343&more=1)). But now, at least this is allowed and can be done – unlike with previous Windows Mobile operating systems.

Kudos to Microsoft – this is a really-really welcome addition! With this, ActiveSync-based networking has become far-far easier!

Of course, every bean has its black. The new networking model does have its share of problems. For example, many firewall/viruskiller applications will sense the WM5 PDA as an intruder, unlike with previous Windows Mobile / Pocket PC versions. You will, therefore, may end up having to fine-tune/reconfigure your firewall/viruskiller applications (if you have any) to let your WM5 devices work. Still, I think the advantages the new networking approach has (for example, the much easier Pocket PC control capabilities from distant locations) far outweigh these minor annoyances/one-time configuration needs.