z/OS Communications Server: IP IMS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Parameter values set by the application

z/OS Communications Server: IP IMS Sockets Guide
SC27-3653-00

SOC-FUNCTION
A 16-byte character field containing SENDTO. The field is left-aligned and padded on the right with blanks.
S
A halfword binary number set to the socket descriptor of the socket sending the data.
FLAGS
A fullword field that returns one of the following information:
Literal Value Binary Value Description
NO-FLAG X'00000000' No flag is set. The command behaves like a WRITE call.
MSG-OOB X'00000001' Send out-of-band data. (Stream sockets only.)
MSG-DONTROUTE X'00000004' Do not route. Routing is provided by the calling program.
NBYTE
A fullword binary number set to the number of bytes to transmit.
BUF
Specifies the buffer containing the data to be transmitted. BUF should be the size specified in NBYTE.
NAME
Specifies the IPv4 socket address structure as follows:
FAMILY
A halfword binary field containing the IPv4 addressing family. For TCP/IP the value must be decimal 2, indicating AF_INET.
PORT
A halfword binary field containing the port number bound to the socket.
IP-ADDRESS
A fullword binary field containing the socket's 32-bit IPv4 IP address.
RESERVED
Specifies an 8-byte reserved field. This field is required, but not used.
Specifies the IPv6 socket address structure as follows:
FAMILY
A halfword binary field containing the IPv6 addressing family. For TCP/IP the value is decimal 19, indicating AF_INET6.
PORT
A halfword binary field containing the port number bound to the socket.
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 set to the 128-bit IPv6 IP address, in network byte order.
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 can be specified for any address types and scopes. For a link scope IPv6-ADDRESS, SCOPE-ID can 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