The remoteclient-demo

The uno.exe program is used to export an arbitrary service to other processes. In this
example the com.sun.star.uno.Pipe service (which is built in io-module) is exported.
The client component implements the com.sun.star.lang.XMain interface. In the run method,
it connects to the servers process and retrieves an instance and does some calls on the instance.

Preparation to run the demo :

1. Build the demo ( a shared library ).

2. Switch to the outputtree, where the library was built.

3. Start the server

   Windows :
   start uno  -rw server.rdb -s com.sun.star.io.Pipe -u uno:socket,host=localhost,port=2002;urp;MyPipe
 
   Unix :
   uno -rw server.rdb -s com.sun.star.io.Pipe -u 'uno:socket,host=localhost,port=2002;urp;MyPipe'

4. Start the client

   Windows :
   uno  -rw client.rdb -s com.sun.star.bridge.example.RemoteClientSample -- uno:socket,host=localhost,port=2002;urp;MyPipe
   
   Unix :
   uno  -rw client.rdb -s com.sun.star.bridge.example.RemoteClientSample -- 'uno:socket,host=localhost,port=2002;urp;MyPipe'


Important notes:

- You must use GNU make version 3.78 or higher to build this example.

- If you are using gcc, you must use version 2.95.2 or higher to successfully compile.

- On windows, the environment variable PATH must contain the path to the standard libraries (such as msvcrt.lib) otherwise they will not be found during linking.

- On Unix/Linux the enviroment variable LD_LIBRARY_PATH must be set to include the path to
the lib directory in the UDK toolkit and the path to the lib directory in the output directory
when running the demo.

