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 Secure Toolkit (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 (5761-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 Secure Toolkit (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 (5761–SS1 Option 34). See Digital Certificate Manager (DCM) in the information center for details.
  2. If you want to use SSL with the cryptographic hardware, you need to install and configure the 2058 Cryptographic Accelerator, or the 4758 Cryptographic Coprocessor, or the 4764 Cryptographic Coprocessor. The 2058 Cryptographic Accelerator allows you to offload SSL cryptographic processing from the operating system to the card. The 4758 Cryptographic Coprocessor can be used for SSL cryptographic processing; however, unlike the 2058, this card provides more cryptographic functions, like encrypting and decrypting keys. The 4764 Cryptographic Coprocessor is a better version of the 4758 Cryptographic Coprocessor. See Cryptography for complete descriptions of the 2058 Cryptographic Accelerator, 4758 Cryptographic Coprocessor, and 4764 Cryptographic Coprocessor.