RPC programming

William Roberts liam at cs.qmw.ac.uk
Fri Mar 9 05:02:10 AEST 1990


If you've actually followed the examples and read the
documentation, you should be using a loop of the form


            svc_getargs( .... stuff ... )
            handle the call and do whatever your server is
                        supposed to do
            svc_freeargs( .... stuff ... )

The svc_freeargs call releases all the memory malloc'd by the
svc_getargs, and the argument list is identical.

If you've done anything more complicated, then shame on you for
not reading the documentation!
-- 

William Roberts                 ARPA: liam at cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam at qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  01-975 5250 (Fax: 01-980 6533)



More information about the Comp.unix.questions mailing list