z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


clnt_destroy()

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Format

#include <rpc.h>
void
clnt_destroy(clnt)
CLIENT *clnt;

Parameters

clnt
Specifies the pointer to a client handle that was previously created using clntudp_create(), clnttcp_create(), or clntraw_create().

Usage

The clnt_destroy() call deletes a client RPC transport handle. This procedure involves the deallocation of private data resources, including clnt. After this procedure is used, clnt is undefined. If the RPC library opened the associated sockets, it also closes them. Otherwise, the sockets remain open.

Context

  • clnt_control()
  • clnt_create()
  • clntraw_create()
  • clnttcp_create()
  • clntudp_create()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014