Previous Topic: RECVNext Topic: Notes


Parameters

Parameter

Description

socket-descriptor

Specifies the name of a fullword field containing the socket descriptor from which to read.

buffer

Specifies the name of the area where the data is to be placed.

buffer-length

Specifies the name of a fullword field containing the length of the buffer. buffer-length can be specified as an absolute expression.

flags

Specifies the name of a fullword field containing information on how the data is to be received.

z/VSE systems: MSG@PEEK is the only flag value that is supported. The remaining flags are not supported and returns an error if specified. When the MSG@PEEK flag is specified only the first byte of the RECV buffer is returned, even if a larger buffer size is specified.

z/VM systems: MSG@WALL is not supported.

read-length

Specifies the name of a fullword field in which the actual length of the data read is returned.