Partager via


Name Registration for IPv4

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Windows Embedded 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

Concepts

Host Name Resolution for IPv4
TCP/IP and Dynamic DNS