VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdrrec_endofrecord
    Generates an end-of-record for an XDR record.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t xdrrec_endofrecord  (XDR *xdrs, bool_t sendnow);

1  –  Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream-handle creation routines.
 sendnow
    Indicates whether the record should be sent. If sendnow is TRUE,
    xdrrec_endofrecord sends the record by calling the writeit
    routine specified in the call to xdrrec_create. If sendnow is
    FALSE, xdrrec_endofrecord marks the end of the record and calls
    writeit when the buffer is full.

2  –  Description

    This routine lets an application support batch calls and
    pipelined procedure calls.

3  –  Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
Close Help