
G&R
The TCP/IP handler
You start this handler (gl_tcp) when you specify -li tcp as the line
handler for a Host Links product. When you connect from one G&R
product (or GlAPI application) to another the TCP/IP handler uses a ‘raw’
mode; the application data is simply packed in TCP packets and transmitted
with no higher-level protocol involved. Terminal sessions use the Telnet
protocol to reach standard Telnet servers, TN3270/TN3270E to reach TN3270
servers, TN5250 to reach TN5250 servers and TNVIP to reach TNVIP servers.
Terminal sessions use Rlogin protocol when user identification is to be passed
between UNIX/Linux client and server systems.
Making connections using TCP
Accepting a connect
If you configure a local port number (-lp), products and applications can use
the TCP handler to receive connections.
Note that you must give the local port parameter at startup in the command line
or configuration file for it to take effect. You can start two products on the same
or two different systems and then connect from either to the other to establish
interactive communication between two terminals or applications.
Issuing a connect
TCP connections in ‘raw mode’ are always two-way simultaneous. Any
concept of ‘turn’ to determine initiative must be implemented in the
applications. The ‘end of data’ marker is set following criteria depending on
application mode, and is mapped to ‘end of group’ for the application using the
handler. It can be interpreted as ‘turn’.
For TNVIP, TN5250 and TN3270 connections the concept of turn is included
in the protocol, and mapped to ‘end of group’ for the applications using Gline.
Gline Line Handlers and Configuration
4
Commentaires sur ces manuels