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 RECVFROM. The field is left-justified and padded to the right with blanks.
S
A halfword binary number set to the socket descriptor of the socket to receive the data.
FLAGS
A fullword binary field containing flag values as follows:
Literal Value Binary Value Description
NO-FLAG X'00000000' Read data.
MSG-OOB X'00000001' Receive out-of-band data (stream sockets only). Even if the OOB flag is not set, out-of-band data can be read if the SO-OOBINLINE option is set for the socket.
MSG-PEEK X'00000002' Peek at the data, but do not destroy data. If the peek flag is set, the next receive operation reads the same data.
MSG-WAITALL X'00000040' Requests that the function block until the requested amount of data can be returned (stream sockets only). The function might return a smaller amount of data if the connection is closed, if an error is pending, or if the SO_RCVTIMEO field is set and the timer has expired for the socket.
NBYTE
A fullword binary number specifying the length of the input buffer.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014