|
|||||||||||||||||||||
|
Protocols FAQ [an error occurred while processing this directive] Introduction Windows CE PC Companions (including the Pocket PC, Pocket PC 2002 and Windows Mobile 2003 as well as the SmartPhone) support TCP/IP as well as NetBIOS over TCP/IP. Microsoft has done a good job explaining the TCP/IP protocol implementation in their Windows CE Communications Whitepaper. These services include PPP, SLIP, RAS, HTTP as well as DNS lookups and WINS resolution. The current version of Windows CE (through 3.0) and the Pocket PC 2000 does not support PPTP or VPN connections. VPN support has been added to the Pocket PC 2002 though. For a visual diagram of connections see the ActiveSync Configurations. This FAQ focuses on the implementation of NetBIOS over TCP/IP, host name resolution, and the default IP addresses used by ActiveSync. NetBIOS over TCP/IP Node Types Microsoft has implemented a B-Node for the Handheld PC
when a WINS server is not designated in the connection. ActiveSync
does not use this implementation to find a host so you must enter a
setting for a WINS server in order to connect to a desktop. The
Pocket PC 2002 works a little differently than prior releases when you use
ActiveSync to connect to your desktop via Ethernet, 802.11b or
modem. As part of your initial synchronization, the Pocket PC 2002
stores the desktop's IP address. So you can sync without entering the
desktop's IP address as the WINS server. This will prevent you from
synchronizing if your desktop's IP address changes. Once you have entered a setting for a WINS server (this address can be a true WINS server or another PC with NetBIOS), the Handheld PC acts as a P-Node where all communications are point to point to the WINS server or the communications fail. This results in the inability for the PC Companion to find other hosts in different domains even though you may specify them explicitly. NetBIOS Name Resolution for ActiveSync Windows CE implements NetBIOS Name Resolution for ActiveSync as follows:
NetBIOS Name Resolution for the Network Client Windows CE implements NetBIOS Name Resolution for the Network Client as follows:
NetBIOS is not a routable protocol (i.e.: it will not go through routers without special configuration) so you must configure all equipment to bridge these packets as appropriate. Be careful! NetBIOS broadcasts can affect a WAN networks performance. DNS Name Resolution The Handheld PC, Pocket PC and Palm-size PC support standard DNS name resolution for TCP/IP hosts. However there is no support for using a HOSTS file in lieu of resolving a host name using a DNS. Preset TCP/IP Addresses Microsoft has implemented all communications with ActiveSync as follows: Windows 95/98/ME
Windows NT
Windows 2000/XP
In all cases, be careful not to introduce network conflicts due to duplicate IP addresses. This is very easy if IP Forwarding has been enabled in Windows NT, 2000 or XP. There is no similar option for Windows 95/98/ME. Windows 95 requires the Dial-Up Networking upgrade v1.2b to be installed in order to allow modem connections. Also you need to make sure that any of the above IP addresses are listed in your LAT. Microsoft has a knowledge base article that describes how to do this. Known TCP/IP Ports ActiveSync uses the following ports (per Microsoft KB article) with descriptions I have added based on looking at the conversation between the Pocket PC and the PC::
These ports are used (per Microsoft KB article) to communicate with your PC Companion. It also uses the NetBIOS TCP and UDP ports 137 (naming service), 138 (NetBIOS datagram service) and 139 (NetBIOS session service) to communicate with your PC Companion. If you use a DNS it will use port 53 for name resolution. WINS Naming Issues By default, Microsoft has named the devices Handheld_PC, Pocket_PC and Palm-size_PC. All of these names contain invalid characters for naming a WINS device. The names can only be from 1 to 15 characters, a leading character in the range 'a'-'z' or 'A'-'Z', and the rest of the characters in the range 'a'-'z', 'A'-'Z', '0'-'9', or '-'. I recommend that all users rename their device prior to synchronizing or using them on a network to guarantee compatibility. Conclusion I hope that this will help others in understanding what Windows CE does and does not do with NetBIOS and TCP/IP. This information is based on reviewing the information provided by Microsoft in Windows CE Services 2.x and ActiveSync 3.x as well as testing. The WINS information is based solely on testing. Pocket PC Protocol Summary - A list of all supported protocols. [an error occurred while processing this directive] |