VMS Help  —  TCPIP Services, Programming Interfaces, RPC Server Routines, svc_destroy
    A macro that frees the memory associated with an RPC server
    handle.
    Format
      #include  <rpc/rpc.h>
      void  svc_destroy(SVCXPRT *xprt);

1  –  Arguments

 xprt
    A pointer to an RPC server handle created by any of the server-
    handle creation routines.

2  –  Description

    The svc_destroy routine returns all the private data structures
    associated with a server handle. If the server-handle creation
    routine received the value RPC_ANYSOCK as the socket, svc_destroy
    closes the socket. Otherwise, your program must close the socket.

3  –  Return Values

    None
Close Help