[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Summary of RPC on Symbolics
Summary of discussion: the Symbolics RPC library.
Q (email@example.com): Are there any utilities corresponding to the Sun
RPC library functions CALLRPC and REGISTERRPC available on Symbolics
3600s running Genera 8.0?
A (mainly firstname.lastname@example.org): No. For 3600s, Symbolics RPC depends on
the optional IP/TCP and NFS software packages. In Genera 8.1, however,
this is no problem because IP/TCP and NFS are bundled with the
Caveat: Although RPC functionality is unavailable (actually it's
incomplete, which is even worse) on 3600s with Genera 8.0 or older,
all RPC-related functions are documented in the Document Examiner and
in the Networking Manual.
Notes: The programmer interface to Symbolics RPC looks a bit
unfamiliar to Explorer and Unix programmers at first sight. However,
the functionality is the same. Below is a little example showing some
of the differences.
Example: Client stub for calling remotefunction(string) -> string.
host-name ;e.g. "remulus"
program-number ;e.g. #x20abcdef
version-number ;e.g. 1
procedure-number ;e.g. 1
;; e.g (defvar query "user-id") and (defvar locf-query (locf query))
(:number program-number) ;as above
(:version version-number) ;as above
(:client :lisp)) ;tells Genera to make client stub
;;; example call:
(rpc:host-udp-transport-agent (net:parse-host host-name)))
;;; End of example.
|Eyvind Ness |Internet Email: email@example.com
|Research Scientist |Phone: +47 9 183100
|Control Room Systems Division |Fax: +47 9 187109
|OECD Halden Reactor Project |