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


svc_unregister()

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

Format

#include <rpc.h>
void
svc_unregister(prognum, versnum)
u_long prognum;
u_long versnum;

Parameters

prognum
Specifies the program number that is removed.
versnum
Specifies the version number of the program that is removed.

Usage

The svc_unregister() call removes all local mappings of prognum and versnum to dispatch routines and prognum, versnum, and * to port numbers.

Requirement: When your application registers with rpcbind rather than with portmapper, the following requirements apply:
  • Your registration request must originate from an IP address on the local host.
  • If you have defined the SAF profile EZB.RPCBIND.sysname.rpcbindname.REGISTRY in the SERVAUTH class, your application user ID must be granted at least READ access to permit this library call.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014