
The inetpak library has been compiled (and used) on FreeBSD, Linux, IRIX and HP-UX, so far.  Reports about how it works on other platforms are welcome.

First compile the inetpak.a library (go to ./src and type 'make'), then one of the examples, such as demo (go to ./demo and 'make').

The demo can be started like "./demo -d -p 8080" to start listening at port 8080 and then you can use a browser such as Lynx or Netscape using the http://localhost:8080 address.  The default port is 80, but this requires superuser priviledge, normally.

To compile on HP-UX you have to use "objc -Wc,-Ae", which means "pass -Ae to the c-phase of the compiler chain".  (-Ae is needed for POSIX support on HP and seems to define select() so you can use the SERVER_USE_SELECT=1 case, on HP)

On IRIX, you have to use "objc -Wc,-ansiposix -DSERVER_USE_SELECT=0".

This can be achieved 1) by modifying the Makefile or 2) by setting OBJCOPT (e.g. export OBJCOPT="-Wc,-Ae"), because the objc driver inspects this environment variable (for options to prepend to command line options).

Comments welcome ... send email to stes@can.nl,
David.

