HOWTO: Load Host Entries into Windows CE Device

ID: Q199370


The information in this article applies to:


SUMMARY

Host name resolution is the process of mapping a host name to an IP address. Windows CE TCP/IP can use HOST entries stored in the registry to resolve host names.

You can load HOST entries into the following registry. Other host addresses found by DNS and WINS servers are also cached in the same registry key.

HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\host name
You need to create a host name key for each host entry you want to reference.


MORE INFORMATION

Host-name-specific values are listed under the following subkeys for each host name:

ipaddr

aliases

ExpireTime

PPP_PEER is a special host name stored in the registry. For more information about PPP_PEER, please refer to the following Knowledge Base article:
Q183988 Retrieve the IP Address of the Remote PPP Peer
A host name of a local device is stored in the following registry:

HKEY_LOCAL_MACHINE\Ident 

Name

Additional query words:


Keywords          : kbnetwork kbIP kbWinCE200 kbWinsock 
Version           : WINDOWS:2.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: May 26, 1999