Example: Creating and running the client program
Creating the client program The following example
shows how to create the client program on AIX using xlc. The
example assumes that the source for the client program is in file
qshc.c in the current working directory. The client program has
been compiled and tested on AIX 4.1.5 using xlc and Linux 2.0.29
using gcc 2.7.2.1.
xlc -o qshc qshc.c
Running the client program The following example
shows how to run the client program and connect to a server running
on system myas400. Before running the command, there must be an
entry in your ~/.netrc file for the specified system and the server
must be started and listening on TCP/IP port 6042.
qshc myas400