/sys$common/syshlp/HELPLIB.HLB  —  RPCGEN  Examples
    1.RPCGEN /ERRLOG /TABLE PROTO.X

      This example generates all of the five possible files using the
      default file names: PROTO.H, PROTO_CLNT.C, PROTO_SVC.C, PROTO_
      XDR.C, and PROTO_TBL.I. The PROTO_SVC.C code supports the use
      of the dispatch table found in PROTO_TBL.I. The server error
      messages are logged to the operator console instead of being
      sent to the standard error.

    2.RPCGEN /INET_SERVICE /TIMEOUT_SECONDS=20 PROTO.X

      This example generates four output files using the default file
      names: PROTO.H, PROTO_CLNT.C, PROTO_SVC.C, and PROTO_XDR.C.
      INETd starts the server and the server exits after 20 seconds
      of inactivity.

    3.RPCGEN /HEADER_FILE /TABLE PROTO.X

      This example sends the header file (with support for dispatch
      tables) to the default output file PROTO.H.

    4.RPCGEN /TRANSPORT=TCP PROTO.X

      This example sends the server skeleton file for the transport
      TCP to the default output file PROTO_SVC.C.

    5.RPCGEN /HEADER_FILE /TABLE /OUTPUT=PROTO_TABLE.H PROTO.X

      This example sends the header file (with support for dispatch
      tables) to the output file PROTO_TABLE.H.
Close Help