Share via


Name Registration for IPv4 (Windows CE 5.0)

Send Feedback

Windows CE supports dynamic name registration by supporting NetBIOS over TCP/IP (NBT). Dynamic name registration means that NBT automatically registers the host name with a WINS server whenever a network interface starts up.

An OEM who requires the name of the device to be registered with WINS should call sethostname.

The name registration process begins when the client issues a NAMEREGISTRATIONREQUEST message. The WINS server checks to see if the host name is unique on the network and returns either a positive or negative response message. If positive, the registration response will include the Time to Live (TTL) for the registered name. If negative, the WINS server declines to register the name. This usually means the WINS server has identified a duplicate name.

Note   For DNS, a TTL of zero (0) indicates that the time to live is 10 minutes.

The client must refresh the name registration before the TTL expires. When the registration is refreshed, the WINS server issues a new TTL.

See Also

Host Name Resolution for IPv4 | TCP/IP and Dynamic DNS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.