Client and Server Examples for UNIX and Windows

This document describes the examples provided for the C Wrapper. All examples here can be found in the EntireX examples/RPC directory under UNIX and Windows. It covers the following topics:


Basic RPC Client Examples - CALC, SQUARE

For C environments, the CALC and SQUARE clients are built with the C Wrapper.

Name Type Description Notes
client.c C source file A client application calling two remote procedures (RPC services), CALC and SQUARE, with associated example.idl. 1
client.mak makefile A build script for generating, compiling and linking. 2
makefile makefile A build script for generating, compiling and linking. 3

Notes:

  1. Application built according to the client-side build instructions under Writing a Single-threaded C RPC Client Application.
  2. Under Windows only.
  3. Under UNIX only.

For more information see the readme file in EntireX directory examples/RPC/CClient under UNIX or Windows.

Basic RPC Server Examples - CALC, SQUARE

For C environments, the CALC and SQUARE servers are built with the C Wrapper.

Name Type Description Notes
EXAMPLE.C C source file A server application providing two remote procedures (RPC services), CALC and SQUARE, with associated example.idl. 1
makefile makefile A build script for generating, compiling and linking. 2
server.mak makefile A build script for generating, compiling and linking. 3

Notes:

  1. Application built according to the server-side build instructions. See Using the C Wrapper for the Server Side (z/OS, UNIX, Windows, BS2000/OSD, IBM i).
  2. Under UNIX only.
  3. Under Windows only.

For more information see the readme file in EntireX directory examples/RPC/CServer under UNIX or Windows.