RSC/MP 7.2 Programming Manual
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
F-1
F Sample Code Overview
This appendix provides a list of source code samples that are included with RSC/MP
and describes the samples that are not described elsewhere in this manual.
C Sample
The C sample serves two purposes. As a test utility it can be used to verify correct
configuration and operation of the RSC/MP product. As a code sample it demonstrates
a way to access the RSC/MP API using the C programming language.
The C sample application is called RSCTEST. It presents a full-screen text-mode
interface through which the user can cause a series of RscWriteRead operations to be
run against an echo server which runs on the NonStop host. The user configures such
parameters as message size, number of messages to be sent, waited/no-wait
Sample Demonstrates... Described under
IDSSAMPL design of a router, written in SCOBOL,
that runs on the NonStop host and
supports the RSCTEST family of client
samples
IDS Router Sample on
page F-3
RSCTEST use of the RSC/MP API from a client
program written in C
C Sample
on page F-1
RSCTESTW use of the RSC/MP API from a Windows
GUI client program written in C
C w/GUI Sample
on
page F-2
RSCTESTJ use of the RSC/MP API from client
programs written in Java
Java Sample
on page F-3
RSCTESTVB use of the RSC/MP API from a client
program written in Microsoft Visual Basic
Visual Basic Sample
on
page F-4
RSCTESTVBNET use of the RSC/MP from a client program
written in Microsoft VB.NET
Visual Basic .NET Sample
on page F-4
SAMPACS design of an ACS server, written in C, that
runs on the NonStop host
A Sample ACS for the
NonStop Host on page 9-5
SAMPUMS use of WRITEX and WRITEREADX from
a host-side program, written in C, to send
unsolicited messages to RSC/MP clients
UMS Host Code Example
on page 8-8
TDDSVR design of a server, written in C, that runs
on the NonStop host and supports the
RSCTEST family of client samples
Echo Server Sample
on
page F-2
UMSCLIENT a client-side counterpart to SAMPUMS,
written in C, that receives unsolicited
messages
UMS Workstation
Application Example on
page 8-8