Prerequisites for socket programming

Before writing socket applications, you must complete these steps to meet the requirements for compiler, AF_INET and AF_INET6 address families, Secure Sockets Layer (SSL) APIs, and Global Security Kit (GSKit) APIs.

Compiler requirements

  1. Install QSYSINC library. This library provides necessary header files that are needed when compiling socket applications.
  2. Install the ILE C licensed program (5770-WDS Option 51).

Requirements for AF_INET and AF_INET6 address families

In addition to the compiler requirements, you must complete these tasks:

  1. Plan TCP/IP setup.
  2. Install TCP/IP.
  3. Configure TCP/IP for the first time.
  4. Configure IPv6 for TCP/IP if you plan to write applications that use the AF_INET6 address family.

Requirements for Secure Sockets Layer (SSL) APIs and Global Security Kit (GSKit) APIs

In addition to the requirements for compiler, AF_INET address families, and AF_INET6 address families, you must complete the following tasks to work with secure sockets:

  1. Install and configure Digital Certificate Manager licensed program (5770-SS1 Option 34). See Digital Certificate Manager (DCM) in the information center for details.
  2. If you want to use SSL/TLS with the cryptographic hardware, you need to install and configure the 4765 Cryptographic Coprocessor. See Cryptography for complete descriptions of the 4765 Cryptographic Coprocessor.