The svc_destroy() call deletes the RPC service transport handle xprt, which becomes undefined after this routine is called.
Syntax
#include <rpc\rpc.h> void svc_destroy(xprt) SVCXPRT *xprt;
Parameter
xprt
Related Calls
svcraw_create() svctcp_create() svcudp_create()