The SOCKCONN macro establishes a socket connection with an IP address. It is used to determine the availability of a connection.
Parameters: SOCKCONN Macro
Specifies the IP address or host name of the application to which you want to connect.
Specifies the port number of the application to which you want to connect.
Specifies the time (in seconds) that you want to try to establish the connection.
Example: SOCKCONN Macro
In the following example, the SOCKCONN macro is used to connect to port number 435 at IP address 172.31.255.255. The system will wait 10 seconds for the connection.
--------- Automation Services : SOCKCONN Macro Parameter Definition ----------- Command ===> Function=UPDATE . Socket Details -------------------------------------------------------------. | | | Specify the parameters for SOCKET CONNECT: | | | | IP Address/Host Name ... 172.31.255.255_________________________________ | | | | Port Number ............ 435__ (0 - 65535) | | | | Wait for Connection .... 10_ (In seconds) | | | '-----------------------------------------------------------------------------' F1=Help F2=Split F3=OK F9=Swap F12=Cancel
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |