User`s guide
112
K
A
DAK
KwikNet System Construction
3.6 Making the TCP/IP Sample Program
The KwikNet TCP/IP Stack includes a sample program, a working application that you can
use to confirm the operation of KwikNet. Other sample programs are provided for use
with optional KwikNet components such as the FTP Option and the Web Server.
The KwikNet Application Block Diagram (see Figure 1.2-1 in Chapter 1) summarizes the
components which are fundamental to any KwikNet application. All of these components
must be present in the appropriate KwikNet installation directories prior to making any of
the KwikNet sample programs.
TCP/IP Sample Program Directories
When KwikNet is installed, the following subdirectories on which the TCP/IP Sample
Program construction process depends are created within directory
KNTnnn.
CFGBLDW KwikNet Configuration Builder; template files
ERR Construction error summary
TCPIP KwikNet header and source files
TOOLXXX Toolset specific files
TOOLXXX\DRIVERS KwikNet device drivers and board driver
TOOLXXX\LIB Toolset specific KwikNet Library will be built here
TOOLXXX\SAM_MAKE Sample program make directory
TOOLXXX\SAM_TCP KwikNet TCP/IP Sample Program directory
TOOLXXX\SAM_COMN Common sample program source files
One or more toolset specific directories TOOLXXX will be present. There will be one such
directory for each of the software development toolsets which KADAK supports. Each
toolset vendor is identified by a unique two or three character mnemonic, XXX. The
mnemonic UU identifies the toolset vendor used with the KwikNet Porting Kit.
Other subdirectories such as
TOOLXXX\SAM_FTP or TOOLXXX\SAM_WEB will also be present
for the sample programs provided with other optional KwikNet components.