This section provides information about the sample programs
that show how to use the REXX socket API. These programs are provided
as is.
Overview of REXX sample programs
The sample programs and the jobs that you can use to run
them are located in the SEZAINST file.
The REXX-EXEC RSCLIENT sample program for IPv4
The client sample program is a REXX socket program that shows you
how to use the commands that are provided by the REXX sockets API. The program connects
to the server sample program and receives data, which is displayed
on the screen. It uses sockets in blocking mode.
The REXX-EXEC RSSERVER sample program for IPv4
The server sample program shows an example of how to use
sockets in nonblocking mode. The program waits for connect requests
from client programs, accepts the requests, and then sends the data.
The sample can handle multiple client requests in parallel processing.
The REXX-EXEC R6CLIENT sample program for IPv6
The client sample program is a REXX socket program that shows you
how to use the commands that are provided by the REXX sockets API. The program connects
to the server sample program and receives data, which is displayed
on the screen. It uses sockets in blocking mode.
The REXX-EXEC R6SERVER sample program for IPv6
The server sample program shows an example of how to use
sockets in nonblocking mode. The program waits for connect requests
from client programs, accepts the requests, and then sends data. The
sample can handle multiple client requests in parallel processing.
AT-TLS security definitions for REXX samples
When Application Transparent Transport Layer Security (AT-TLS)
is enabled on the TCP/IP stack, you must define the REXX sample applications to the
Policy Agent.