Client and Server Examples for Natural

This document describes the examples provided for Natural. All examples here can be found in the EntireX examples/RPC directory under UNIX and Windows.


Basic RPC Client Examples - CALC, SQUARE

Name Type Description Notes
CALCCLT.NSP Natural Program A client application calling the remote procedure (RPC service) CALC, with associated example.idl. 1, 2
SQRECLT.NSP Natural Program A client application calling the remote procedure (RPC service) SQUARE, with associated example.idl. 1, 2

Notes:

  1. Requires a Natural version supported by Software AG.
  2. Application uses a client interface object built with the Natural Wrapper.

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

Basic RPC Server Examples - CALC, SQUARE

Name Type Description Notes
CALC.NSN Natural Subprogram (CALLNAT) A server application providing the remote procedure CALC (RPC service), with associated example.idl. 1
SQUARE.NSN Natural Subprogram (CALLNAT) A server application providing the remote procedure SQUARE (RPC service), with associated example.idl. 1

Notes:

  1. Requires a Natural version supported by Software AG and a Natural RPC Server.

For more information, see the readme file in EntireX directory examples/RPC/basic/example/NaturalServer under UNIX or Windows.

Reliable RPC Client Example - SENDMAIL

Name Type Description Notes
SENDCLT.NSP Natural Program A client application calling the reliable remote procedure (RPC service), SENDMAIL, with associated mail.idl. 1, 2

Notes:

  1. Requires a Natural version supported by Software AG.
  2. Application uses a client interface object built with the Natural Wrapper.

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

Reliable RPC Server Example - SENDMAIL

Name Type Description Notes
SENDMAIL.NSN Natural Subprogram (CALLNAT) A server application providing the reliable remote procedure (RPC service) SENDMAIL, with associated mail.idl. 1

Notes:

  1. Requires a Natural version supported by Software AG and a Natural RPC Server.

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