The svc_getreq() call implements asynchronous event processing and returns control to the program after all sockets have been serviced.
Syntax
#include <rpc\rpc.h> void svc_getreq(socks, noavail) int socks[]; int noavail;
Parameters
socks
Description
Use the svc_getreq() call rather than svc_run() to do asynchronous event processing. The routine returns control to the program when all sockets in the socks array have been serviced.
Related Calls