RE: what's the equvilent call of OTInetQuery (OT) in sockets?
RE: what's the equvilent call of OTInetQuery (OT) in sockets?
- Subject: RE: what's the equvilent call of OTInetQuery (OT) in sockets?
- From: Stuart Cheshire <email@hidden>
- Date: Tue, 30 Jul 2002 12:44:46 -0700
>
Putting a '.' on the end of the string should work.
Glenn is correct.
From RFC 1034:
>
When a user needs to type a domain name, the length of each label is
>
omitted and the labels are separated by dots ("."). Since a complete
>
domain name ends with the root label, this leads to a printed form which
>
ends in a dot. We use this property to distinguish between:
>
>
- a character string which represents a complete domain name
>
(often called "absolute"). For example, "poneria.ISI.EDU."
>
>
- a character string that represents the starting labels of a
>
domain name which is incomplete, and should be completed by
>
local software using knowledge of the local domain (often
>
called "relative"). For example, "poneria" used in the
>
ISI.EDU domain.
It is also mentioned in RFC 1035:
>
Domain names that end in a dot are called
>
absolute, and are taken as complete. Domain names which do not end in a
>
dot are called relative; the actual domain name is the concatenation of
>
the relative part with an origin...
Stuart Cheshire <email@hidden>
* Wizard Without Portfolio, Apple Computer
* Chairman, IETF ZEROCONF
* www.stuartcheshire.org
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.