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 FCNTL. The field is left-justified and padded on the right with blanks.
S
A halfword binary number specifying the socket descriptor for the socket that you want to unblock or query.
COMMAND
A fullword binary number with the following values:
Value
Description
3
Query the blocking mode of the socket.
4
Set the mode to blocking or nonblocking for the socket.
REQARG
A fullword binary field containing a mask that TCP⁄IP uses to set the FNDELAY flag.
  • If COMMAND is set to 3 ('query') the REQARG field should be set to 0.
  • If COMMAND is set to 4 ('set')
    • Set REQARG to 4 to turn the FNDELAY flag on. This places the socket in nonblocking mode.
    • Set REQARG to 0 to turn the FNDELAY flag off. This places the socket in blocking mode.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014