iTP Active Transaction Pages (iTP ATP) Programmer's Guide
ATP Objects, Properties, and Methods
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide—522292-002
4-48
atp.socket Object
remote_host
This parameter specifies the host with which to establish the connection. The value
is a string in either numeric ("130.252.3.44") or alpha ("www.compaq.com") form.
remote_port
This parameter specifies the port number (for example, 8080).
tcp/ip_process
This parameter specifies the NonStop TCP/IP process name as a string (for example,
"$ztc4"). Use the keyword null (not quoted) to default. If the system
configuration includes a define for tcpip^process^name, that process name is
the default value; otherwise the system default applies.
local_IP_address
This parameter is a string that specifies the local address in numeric form (for
example, "12.13.14.15"). Use the keyword null (not quoted) to default to the local
address associated with the value of tcp/ip_process.
local_port
This parameter specifies the local port as a number (for example, 20000). Use 0
(zero) to select the next available port.
Properties
error (read-only)
This property contains the error code from invoked socket methods. The value is
zero (0) if no error occurred. Otherwise, the value is the error passed back from the
sockets API. See the TCP/IP and IPX/SPX Programming Manual for descriptions of
the errors.
error_text (read-only)
This property contains a text description of the latest error.
timeout (read-only)
This property indicates the timeout used for TCP/IP functions, in hundredths of a
second. Use the setSoTimeout() method to set this value. The default value is
3000 (30 seconds).