Previous Topic: SENDNext Topic: Notes


Parameters

Parameter

Description

socket-descriptor

Specifies the name of a fullword field containing the socket descriptor on which to do the send.

buffer

Specifies the name of the area containing the data to be sent.

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 sent. The list of the different flags supported can be found in the MSGFLAGS DSECT generated by the #SOCKET TCPIPDEF macro call and in the SOCKET-MISC-DEFINITIONS record for other languages. For an explanation of flags that can be specified, see RECV function description.

z/VSE systems: No flag values are supported and an error is returned if a value is specified.

sent-length

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