Print Page as PDF
DBIA2118 ICR (2118)

DBIA2118    ICR (2118)

Name Value
NUMBER 2118
IA # 2118
DATE CREATED 1997/09/05
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE %ZISTCP
NAME DBIA2118
GENERAL DESCRIPTION
This routine is part of the Kernel Device handler.  It
is used for making TCP/IP connection between computers.  It only deals with IP
address.
STATUS Active
ID %ZISTCP
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CALL(IPaddress,Socket [,Timeout])
This entry point is used to make a TCP/IP connection
to a remote system.
VARIABLES TYPE VARIABLES DESCRIPTION
IPaddress Input
This first parameter is the IP address of the host
system to connect to.  It must be in the IP format of 4 numbers separated by
dots.  i.e. 127.0.0.1
Socket Input
This second parameter is the socket to connect to on
the remote host.  It is a integer from 1-65535.  Values below 5000 are for
standard internet services like SMTP mail.
Timeout Input
This optional third parameter is the timeout to apply
to the open.
IO Output
If the connection is made then IO will hold the
implemention value that is used to reference the connection.
POP Output
This variable reports the connection status.  A value
of 0 means the connection was successful.  A positive value means the
connection failed.  It works the same as a call to %ZIS.
CLOSE
This call is used to close the connection opened with
the CALL entry point.  It works like a call to %ZISC.
VARIABLES TYPE VARIABLES DESCRIPTION
IO Both
This hold the connection to close.  It gets reset to
the home device for the process.