Prerequisites for socket programming

Before writing socket applications, you must first complete these steps.

Compiler requirements

  1. Install QSYSINC library. This library provides necessary header files that are needed when compiling socket applications.
  2. Install the C Compiler licensed program (5722–CX2).

Requirements for AF_INET and AF_INET6 address families

In addition to the compiler requirements, you must:

  1. Plan TCP/IP.
  2. Install TCP/IP.
  3. Configure TCP/IP for the first time.
  4. Configure TCP/IP for IPv6. This step is optional. Configure an IPv6 interface for TCP/IP if you plan to write applications that use the AF_INET6 address family.

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

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

  1. Install and configure Digital Certificate Manager licensed program (5722–SS1 Option 34). See Digital Certificate Manager in the information center for details.
  2. Start of changeIf 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 Cryptographic hardware for complete descriptions of the 2058 Cryptographic Accelerator, 4758 Cryptographic Coprocessor, and 4764 Cryptographic Coprocessor.End of change
Related reference
Use AF_INET address family
Use AF_INET6 address family
Use AF_UNIX address family