z/OS Communications Server: IPv6 Network and Application Design Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Basic socket API extensions for IPv6

z/OS Communications Server: IPv6 Network and Application Design Guide
SC27-3663-00

IPv4 addresses are 32 bits long, but IPv6 interfaces are identified by 128-bit addresses. The socket interface makes the size of an IP address visible to an application; virtually all TCP/IP applications using sockets have knowledge of the size of an IP address. Those parts of the API that expose the addresses must be changed to accommodate the larger IPv6 address size. IPv6 also introduces new features, some of which must be made visible to applications by way of the API.

This topic describes the basic extensions to the socket interface and new features of IPv6 as described in the Internet Engineering Task Force (IETF) RFC 3493, Basic Socket Interface Extensions for IPv6., and contains the following topics:
Note: All examples in this topic are shown using UNIX Language Environment® C; see z/OS XL C/C++ Runtime Library Reference for details.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014