joost 6f225effa9 * Makefiles for 2.1.4 18 anni fa
..
Makefile 6f225effa9 * Makefiles for 2.1.4 18 anni fa
Makefile.fpc 6f225effa9 * Makefiles for 2.1.4 18 anni fa
README 4ace790492 * remove $Log 20 anni fa
cnetdb.pp 51647f0f4c * adds proper cross-unix addrinfo record 19 anni fa
fpmake.inc 0cef678a92 * make solaris zipinstall working 19 anni fa
fpmake.pp ec05423779 + Initial implementation 20 anni fa
hs.inc e417e34496 * truncate log 20 anni fa
hsh.inc 1cecd38bca Patch for ipv6 and CNAME record support from Johannes Berg 22 anni fa
ip6test.pp 3ef04b51da + IPV6 test program by Johannes Berg 22 anni fa
netdb.pp 501f66e0ca + adds ipv6 resolve functions (thanks to Montaro) 19 anni fa
testdns.pp 790a4fe2d3 * log and id tags removed 20 anni fa
testhosts.pp 7eb62c2de6 + Fixed bug #4821 and added test 19 anni fa
testhst.pp 790a4fe2d3 * log and id tags removed 20 anni fa
testnet.pp 790a4fe2d3 * log and id tags removed 20 anni fa
testproto.pp 790a4fe2d3 * log and id tags removed 20 anni fa
testsvc.pp 790a4fe2d3 * log and id tags removed 20 anni fa
testuri.pp 4c744032d9 * Some fixes from Sergei Gorelkin, plus RFC3986 additions 19 anni fa
uriparser.pp 4c744032d9 * Some fixes from Sergei Gorelkin, plus RFC3986 additions 19 anni fa

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.