The clnt_destroy() call destroys a client's RPC handle.
Syntax
#include <rpc\rpc.h> void clnt_destroy(clnt) CLIENT *clnt;
Parameters
clnt
Description
The clnt_destroy() call deletes a client RPC transport handle. This procedure involves the deallocation of private data resources, including clnt. After you use this procedure, clnt is undefined. Open sockets associated with clnt must be closed.
Related Calls