Previous Next

ENABLE-CONNECTIONS( ) method
Specifies the TCP/IP port that the AVM uses to listen for new connections. Once called, the AVM automatically listens for and accepts new connections for the specified port.
Return type:
Applies to:
 
Syntax 
ENABLE-CONNECTIONS ( connection-parms )
connection-parms
A character string expression that contains a space-separated list of one or more socket connection parameters.
Table 76 describes the socket connection parameters you can include in this string.
 
-S socket-port 
-pf filename 
-qsize backlog 
Note: On some platforms, the value you supply for backlog is modified by addition, subtraction, multiplication, division, or some combination of these, and it is this modified value that becomes the maximum length of the queue. For more information, see the documentation for your platform.
-ssl 
-keyalias aliasname 
-keyaliaspasswd encpwd 
Sets the password to use in accessing the Public[/Private] key and digital certificate. Always specify a -keyaliaspassword when the -keyalias option is used. The default password only exists when using the default_server server certificate.
-nosessioncache 
-sessiontimeout 
[ seconds ]
Neither an AppServer nor a WebSpeed agent can act as a socket server, since they are already listening on a port. ENABLE-CONNECTIONS is only valid from batch clients, GUI clients and character clients. This method will generate an error if it is called from an invalid application. This method will also generate an error if it is called multiple times without the DISABLE-CONNECTION( ) method being called in between.
Note:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.