DCE Application Programming Guide
NonStop DCE Jacket Functions
HP NonStop DCE Application Programming Guide—429551-003
C-3
SERVERCLASS_SEND_
timeout (optional) If provided, contains the maximum amount of time, in
hundredths of a second, that LINKMON waits for the completion of this
send. This value must be either -1 or greater than 0. The default value is
-1 (wait indefinitely).
If the send is still in progress when this timeout expires, the send is
canceled. An error value 233 (FEScError) is returned;
DCE_SERVERCLASS_SEND_INFO_() shows Pathsend error 918
(FEScSendOperationAborted) and Guardian file-system error 40
(FETimedOut).
flags (optional) If provided, must contain 0 to indicate a waited operation. This
parameter is provided for compatibility with the Guardian
SERVERCLASS_SEND_ procedure.
tag (optional) If provided, is ignored. This parameter is provided for
compatibility with the Guardian SERVERCLASS_SEND_ procedure.
Output
message_buffer
On successful completion of the send, contains the reply returned by the
server process.
actual_reply_len
(optional) If provided, returns the number of bytes returned in the server
process reply and stored in the area pointed to by message_buffer.
scsend_op_num
(optional) If provided, returns value -1. This parameter is provided only
for compatibility with the system library call.
DESCRIPTION
This function is used to send a message to and receive a reply from a server process in a
Pathway server class. The parameters and semantics of this routine are the same as those
of the Guardian SERVERCLASS_SEND_ procedure, which is described in the TS/MP
Pathsend and Server Programming Manual.
This function differs from the Guardian SERVERCLASS_SEND_ procedure in that it
provides only a waited (to the thread) interface. Three optional parameters (flags, scsend-
op-num,and tag) are used to specify nowait operations. These parameters should usually
be omitted.
The flags parameter, if provided, must be 0 (zero). If a value other than zero is provided,
the operation fails with an error value of 233 (FEScError).
DCE_SERVERCLASS_SEND_INFO_() shows Pathsend error 909
(FEScInvalidFlagsValue).
Figure C-1. DCE_SERVERCLASS_SEND_(3) Reference Page (page 2 of 3)