svc_getreqset(3) CLIX svc_getreqset(3)
NAME
svc_getreqset, svc_getreq - Library functions for remote procedure calls
LIBRARY
Berkeley Software Distribution Library (libbsd.a)
SYNOPSIS
void svc_getreqset(
fd_set *rdfds );
void svc_getreq(
int rdfds );
PARAMETERS
rdfds Points to the mask of file descriptors with data available,
returned by select().
DESCRIPTION
The svc_getreqset() and svc_getreq() functions allow C programs to make
procedure calls on other machines across the network. First, the client
calls a procedure to send a data packet to the server. Upon receipt of
the packet, the server calls a dispatch routine to perform the requested
service, and then sends back a reply. Finally, the procedure call returns
to the client.
The svc_getreqset() function is only of interest if a service implementor
does not call svc_run(), but instead implements custom asynchronous event
processing. The svc_getreqset() routine is called when the select()
function has determined that an RPC request has arrived on some RPC
sockets. The rdfds parameter is the resultant read file descriptor bit
mask.
The svc_getreq() function is similar to svc_getreqset(), but limited to 32
descriptors. The svc_getreq() interface is obsoleted by svc_getreqset().
RETURN VALUES
The svc_getreqset() and svc_getreq() functions return void when all
sockets associated with the value of rdfds have been serviced.
RELATED INFORMATION
Functions: xdr_int(3), xdr_bytes(3), xdr_getpos(3), xdr_pointer(3),
xdrrec_create(3), xdr_array(3), xdr_destroy(3), xdr_free(3),
xdr_inline(3), xdrmem_create(3), xdr_opaque(3), xdr_union(3),
xdr_vector(3), xdr_void(3)
2/94 - Intergraph Corporation 1
svc_getreqset(3) CLIX svc_getreqset(3)
CLIX Programming Guide
2 Intergraph Corporation - 2/94