1 This directory contains two win32 programs to test large RPC requests
2 and responses. The two programs are:
4 server A command line RPC server that listens and processes
5 RPC requests on the \pipe\rpcecho named pipe.
7 client A command line RPC client program that
9 Samba also implements the client and server sides of the rpcecho pipe
10 if the --enable-developer option to configure has been used. The
11 rpcclient(1) program is used to implement the client side RPC
14 There are currently four RPC calls defined in the rpcecho pipe. They
17 AddOne Adds one to an integer sent by the client
19 EchoData The client sends an array of bytes and it is echoed
22 SourceData The client sends an array of bytes and it is discarded
25 SinkData The server returns an array of bytes.
27 The Ethereal network protocol decoder (http://www.ethereal.com/) also
28 contains support for the rpcecho pipe as part of its DCERPC for
31 Starting the win32 server program is easy. Just run server.exe in a
32 command window. The win32 client program is also run from a command
33 window. The usage information is shown below:
35 Usage: client hostname cmd [args]
37 Where hostname is the name of the host to connect to,
38 and cmd is the command to execute with optional args:
40 addone num Add one to num and return the result
41 echodata size Send an array of size bytes and receive it back
42 sinkdata size Send an array of size bytes
43 sourcedata size Receive an array of size bytes