z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Parameter values set by the application

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

SOC-FUNCTION
A 16-byte character field containing BIND. The field is left-justified and padded to the right with blanks.
S
A halfword binary number specifying the socket descriptor for the socket to be bound.
NAME

See Designing an iterative server program for more information.

Specifies the IPv4 socket address structure for the socket that is to be bound.

FAMILY
A halfword binary field specifying the IPv4 addressing family. The value is always set to decimal 2, indicating AF_INET.
PORT
A halfword binary field that is set to the port number to which you want the socket to be bound.
Note: To determine the assigned port number, call the GETSOCKNAME command after calling the BIND command.
IP-ADDRESS
A fullword binary field that is set to the 32-bit IPv4 IP address (network byte order) of the socket to be bound.
RESERVED
Specifies an 8-byte character field that is required but not used.
Specifies the IPv6 socket address structure for the socket that is to be bound.
FAMILY
A halfword binary field specifying the IPv6 addressing family. For TCP/IP the value is decimal 19, indicating AF_INET6.
PORT
A halfword binary field that is set to the port number to which you want the socket to be bound.
Note: To determine the assigned port number, call the GETSOCKNAME command after calling the BIND command.
FLOWINFO
A fullword binary field specifying the traffic class and flow label. This field must be set to 0.
IP-ADDRESS
A 16-byte binary field that is set to the 128-bit IPv6 IP address (network byte order) of the socket to be bound.
SCOPE-ID
A fullword binary field which identifies a set of interfaces as appropriate for the scope of the address carried in the IPv6-ADDRESS field. A value of 0 indicates the SCOPE-ID field does not identify the set of interfaces to be used, and may be specified for any address types and scopes. For a link scope IPv6-ADDRESS, SCOPE-ID may specify a link index which identifies a set of interfaces. For all other address scopes, SCOPE-ID must be set to 0.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014