README for the "relocate" interface example.
$Id: README,v 1.1 1997/11/19 05:29:22 janssen Exp $

[ Copyright (c) 1997 Xerox Corporation.  All Rights Reserved.  

  Unlimited use, reproduction, and distribution of this software is
  permitted.  Any copy of this software must include both the above
  copyright notice of Xerox Corporation and this paragraph.  Any
  distribution of this software must comply with all applicable United
  States export control laws.  This software is made available AS IS,
  and XEROX CORPORATION DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY
  AND FITNESS FOR A PARTICULAR PURPOSE, AND NOTWITHSTANDING ANY OTHER
  PROVISION CONTAINED HEREIN, ANY LIABILITY FOR DAMAGES RESULTING FROM
  THE SOFTWARE OR ITS USE IS EXPRESSLY DISCLAIMED, WHETHER ARISING IN
  CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, EVEN IF
  XEROX CORPORATION IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ]

"relocate" tests the server-side relocation functionality in various
protocols.

To run, first run the server, giving it two TCP ports to listen on:

% python server.py -1 23456 -2 23457
ilu:relocate-server/dummy;ilu%3AbU3Lz4VaRSgSwKoft0oR6pJPb2l;iiop@sunrpcrm=tcp_watson_23456;iiop@sunrpcrm=tcp_watson_23457

Then run the client:

% python client.py

You should see the server emit 5 lines of the form:

  relocating to iiop ('sunrpcrm', 'tcp_watson_23457')
  relocating to iiop ('sunrpcrm', 'tcp_watson_23457')
  relocating to iiop ('sunrpcrm', 'tcp_watson_23457')
  relocating to iiop ('sunrpcrm', 'tcp_watson_23457')
  relocating to iiop ('sunrpcrm', 'tcp_watson_23457')

and the client should print

  Can't find dummy

and exit with status 1.
