Parameter values set by the application
- SOC-FUNCTION
- A 16-byte character field containing FCNTL. The field is left-aligned
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.