diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-10-11 19:23:28 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-10-11 19:23:28 (GMT) |
commit | 401a76dcab6766d85bfcbb7e3705ee376e97bc06 (patch) | |
tree | c9658a79510dfa3aec12a62425c8a7df1060bb34 /Demo/rpc | |
parent | 875eeaa193fd8e02d1a8b6d0d6f2768b55b0fff3 (diff) | |
download | cpython-401a76dcab6766d85bfcbb7e3705ee376e97bc06.zip cpython-401a76dcab6766d85bfcbb7e3705ee376e97bc06.tar.gz cpython-401a76dcab6766d85bfcbb7e3705ee376e97bc06.tar.bz2 |
Patch #469517: Info about rpcgen compilers.
Diffstat (limited to 'Demo/rpc')
-rw-r--r-- | Demo/rpc/README | 6 | ||||
-rw-r--r-- | Demo/rpc/mountclient.py | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/Demo/rpc/README b/Demo/rpc/README index 8165ce0..97948a3 100644 --- a/Demo/rpc/README +++ b/Demo/rpc/README @@ -23,3 +23,9 @@ Other clients are tested similarly. For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two hosts that are known to export NFS filesystems with little restrictions). + +There are now two different RPC compilers: + +1) Wim Lewis rpcgen.py found on http://www.omnigroup.com/~wiml/soft/stale-index.html#python. + +2) Peter Åstrands rpcgen.py, which is part of "pynfs" (http://www.cendio.se/~peter/pynfs/). diff --git a/Demo/rpc/mountclient.py b/Demo/rpc/mountclient.py index ff66b3d..8a4b1b6 100644 --- a/Demo/rpc/mountclient.py +++ b/Demo/rpc/mountclient.py @@ -1,11 +1,12 @@ # Mount RPC client -- RFC 1094 (NFS), Appendix A # This module demonstrates how to write your own RPC client in Python. -# Since there is no RPC compiler for Python (yet), you must first -# create classes derived from Packer and Unpacker to handle the data -# types for the server you want to interface to. You then write the -# client class. If you want to support both the TCP and the UDP -# version of a protocol, use multiple inheritance as shown below. +# When this example was written, there was no RPC compiler for +# Python. Without such a compiler, you must first create classes +# derived from Packer and Unpacker to handle the data types for the +# server you want to interface to. You then write the client class. +# If you want to support both the TCP and the UDP version of a +# protocol, use multiple inheritance as shown below. import rpc |