fpc/packages/fcl-net
svenbarth eebabc0152 Correct fix for Mantis #24909 : some systems (Linux, OpenBSD) use the one order while other systems use the other (FreeBSD, NetBSD).
+ add a define for each of the two orders
* fail if none of the two defines is defined ( => for porting to new systems)
+ use the order as specified by the define

git-svn-id: trunk@25581 -
2013-09-26 12:27:37 +00:00
..
examples Regenerate with up-to-date fpcmake binary 2013-04-29 12:45:11 +00:00
src Correct fix for Mantis #24909 : some systems (Linux, OpenBSD) use the one order while other systems use the other (FreeBSD, NetBSD). 2013-09-26 12:27:37 +00:00
fpmake.pp * disable packages which do not build on msdos 2013-08-11 16:12:34 +00:00
Makefile Regenerate all Makefiles with an up-to-date fpcmake binary 2013-04-29 12:27:42 +00:00
Makefile.fpc * Now zipinstall is passed to fpmake by all Makefile.fpc's 2013-04-27 20:34:00 +00:00
Makefile.fpc.fpcmake
README.txt

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.