(c) Copyright 1994 Wide Area Information Servers, Inc

This directory contains the source files for the client protocol toolkit.
Documentation of the API for the client toolkit appears in the following
header files:

  nConnMgr.h     (network protocol functions)
  appConnCli.h   (client-specific application protocol functions)
  appConnMgr.h   (general application prococol functions)

Other helpful utilities are included in:

  cutil.h        (safe string and malloc functions)
  list.h         (functions for operating on lists)


The goal of the client protocol toolkit is to define a C API that can be
used by clients and servers to communicate with remote WAIS systems.  This
API was designed run over a variety of network transport mechanisms and
supports a variety of "application level" protocols (namely Z3950-1988,
Z3950-V2, with the ability to extend to other protocols) In order to do
this, an abstraction layer was defined to hide the network and the
application protocols from the client and server applications.

The API defines an nConnType, which are network abstractions.  Associated
with each nConnType is a set of functions that define how to open, close,
read and write bytes from a particular kind of network (see nConnMgr.h).
In this release, two nConnTypes have been defined: "tcp" and "stdio", but
could easily be extended to other transport protocols, e.g. ipx.  An
instance of an nConnType, called an nConn, contains the state of a specific
network connection.

The API also defines an appConnType, which are abstractions of the
application-level protocol.  Associated with each appConnType is a set of
functions that define how to initialize, search, and retrieve information
(see appConnMgr.h and appConnCli.h).  In this release, two types of
appConnTypes have been defined: "Z39501988" and "z1950v2", but could easily
be extended to instlude other application-level protocols.  An instance of
an appConnType, called an appConn, contains the state of a specific
client/server interaction.
