ntv_wait_request


	status.i4.v = ntv_wait_request(reply_id.u2.r, [message_len.i2.r],
				       [node.i2.r], [flags.i1.r],
				       [request_id.u2.r],[source.i1a.r],
                                      [client_node.i1.r],[timeout.i2.v])

	Wait for the arrival of a request or USM in the receive buffer.

	reply_id	word in which the reply identification code of the
			message (if any) is returned.

	[message_len]	word in which the length of the message (if any) is
			returned (length is in words).

	[node]		word in which the destination logical trunk and node
			of the message (if any) is returned.
			The trunk (also known as the LAN id) is stored in
			the upper byte of this word.

	[flags]		byte in which the message flags of the received message
			(if any) are returned.  This is a structure of type
			UAB_REQUEST_FLAGS.
			(UAB_M_MULTRPY -> multiple-reply message type,
			 UAB_M_MSGTYPE -> message type code field,
			 UAB_M_TOOLONG -> message is too long for buffer,
			 UAB_M_CANCEL  -> cancel an outstanding multiple-
					  reply message connection)

	[request_id]	word in which the request identification code of the
			received message (if any) is returned.

	[source]	word (2 byte array) in which the source node and logical
			task id are returned (task id in the second byte).

       [client_node]   word in which the logical trunk and node that send
                       the message is returned

       [timeout]       timeout in milliseconds to wait for a request

	status		VMS completion condition code.

	This function returns status values as follows:

	SS__NORMAL	receive buffer is locked by a request or a new USM
	SS__TIMEOUT	user supplied timeout period passed without request received
	NET__NOTCNCT	not connected
	NET__NOTRUM	not connected to receive unsolicited messages
	NET__REQTRUNC	request truncated

	This function requires the following include files:

	acnet_h, ssdef_h

	Related functions:

	ntv_check_request, ntv_receive_request