BPXYMSGF is used by send(), recv(), sendto(),
recvfrom(), sendmsg() and recvmsg()
** BPXYMSGF: Socket MSG_* flags
** Used By: SND RCV STO RFM SMS RMS SRX AIO
AIF ('&DSECT' EQ 'NO').B411
MSG_FLAGS DSECT ,
AGO .C411
.B411 ANOP ,
MSG_FLAGS DS 0F
.C411 ANOP ,
MSG_FLAGS1 DS B I_flags - byte 1
MSGFHIGH EQU X'80' DO NOT USE THIS BIT! *
* MSG_FLAGS must never be < 0
*
MSG_ACK_GEN EQU X'40' Generate a UDP 'ACK packet' *
* automatically to the originator if
* an incoming UDP packet arrives
* This flag is no longer supported by z/OS TCPIP.
*
MSG_ACK_TIMEOUT EQU X'20' The caller expects an incoming UDP *
packet within the "standard ACK
* time interval". Return to caller
* with an EINTR return code if no
* incoming UDP packet arrives
* within this time interval.
* This flag is no longer supported by z/OS TCPIP.
*
MSG_ACK_EXPECTED EQU X'10' (Used along with MSG_ACK_TIMEOUT)
* The incoming packet is expected to
* be an ACK. If the ACK arrives,
* the caller does not need to be
* activated to process it.
* Instead, the protocol will just
* cancel the timeout and let the
* application wait for the real data
* to arrive.
* This flag is no longer supported by z/OS TCPIP.
SPACE ,
MSG_FLAGS2 DS B
MSG_flags - byte 2
*
SPACE ,
MSG_FLAGS3 DS B MSG_flags - byte 3
MSG_EOF EQU X'80' Close socket after the send.
* On the send function only - Requests that the socket
* be closed after all data has been transmitted.
*
SPACE ,
MSG_FLAGS4 DS B MSG_flags - byte 4
MSG_CONNTERM EQU X'80' Complete when connection ends.
* Requests that a receive-type function completes only
* when a TCP socket connection is terminated.
* - The buffer length specified on the operation must be 0,
* thus there is no data associated with this receive and
* the other MSG_FLAGS may not be used. This operation is
* only for connection termination notification.
* - Any other normal outstanding receive-type requests will
* also be completed at connection termination and these
* completions may be running in parallel with that of
* the MSG_CONNTERM request.
*
MSG_WAITALL EQU X'40' Wait until all data returned
* Requests that a receive-type function block until the
* full amount of data requested can be returned.
* The function may return a smaller amount of data if a
* signal is caught, the connection is terminated, an error
* is pending or SO_RCVTIMEO is set and the timer expires.
*
MSG_CTRUNC EQU X'20' Control data was truncated.
* An output flag for recvmsg, returned in the MsgHFlags
* field of the MSGH structure.
MSG_TRUNC EQU X'10' Normal data was truncated.
* An output flag for recvmsg, returned in the MsgHFlags
* field of the MSGH structure.
*
MSG_EOR EQU X'08' Terminate a record. @D2A
* Only supported for FRCA enabled TCP sockets.
*
MSG_DONTROUTE EQU X'04' Send without network routing.
* Bypass normal routing for one send-type function request.
* Usually used only by diagnostic or routing programs.
*
MSG_PEEK EQU X'02' Peek at incoming data.
* The data is returned but not consumed, so that a
* subsequent receive-type function will see the same data.
*
MSG_OOB EQU X'01' Send/Receive out of band data.
* Sends out-of-band data for send, sendto or sendmsg.
* Requests out-of-band data for recv, recvfrom or recvmsg.
* Also, is an output flag for recvmsg indicating that
* out-of-band data was received. This is returned
* in the MsgHFlags field of the MSGH structure,
MSG#LENGTH EQU *-MSG_FLAGS Length of this structure
** BPXYMSGF End