svc_getreq()

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

noavail

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


[Back: svc_getcaller()]
[Next: svc_register()]