joost 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 年之前
..
Makefile 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 年之前
Makefile.fpc 9adb91a68d + support for make -jX by marking all Makefiles that need to be executed 18 年之前
README 4ace790492 * remove $Log 20 年之前
cnetdb.pp 51647f0f4c * adds proper cross-unix addrinfo record 19 年之前
fpmake.inc 0cef678a92 * make solaris zipinstall working 19 年之前
fpmake.pp ec05423779 + Initial implementation 20 年之前
hs.inc e417e34496 * truncate log 20 年之前
hsh.inc 1cecd38bca Patch for ipv6 and CNAME record support from Johannes Berg 22 年之前
ip6test.pp 3ef04b51da + IPV6 test program by Johannes Berg 22 年之前
netdb.pp 501f66e0ca + adds ipv6 resolve functions (thanks to Montaro) 19 年之前
testdns.pp 790a4fe2d3 * log and id tags removed 20 年之前
testhosts.pp 7eb62c2de6 + Fixed bug #4821 and added test 19 年之前
testhst.pp 790a4fe2d3 * log and id tags removed 20 年之前
testnet.pp 790a4fe2d3 * log and id tags removed 20 年之前
testproto.pp 790a4fe2d3 * log and id tags removed 20 年之前
testsvc.pp 790a4fe2d3 * log and id tags removed 20 年之前
testuri.pp 4c744032d9 * Some fixes from Sergei Gorelkin, plus RFC3986 additions 19 年之前
uriparser.pp 4c744032d9 * Some fixes from Sergei Gorelkin, plus RFC3986 additions 19 年之前

README

This directory contains a pure-pascal netdb implementation:
It is written mainly to be able to implement network applications that
do hostname lookups independent of the C library.

The uriparser unit contains a parser for URI strings: It decomposes the URI
in its various elements. The opposite can also be done: from various
elements create a complete URI

This provides the equivalent of the Inet unit, but the implementation is
written completely in pascal. It parses the hosts,services and networks
files just as the C library does (it should, anyway).

The DNS routines also do a DNS lookup and parse /etc/resolv.conf
The 'domain' and 'search' entries in this file are parsed, but ignored.
Only the 'nameserver' entries are used at the moment.

The various test programs show how to use this.

Enjoy!

Michael.