Previous Next

SET-SOCKET-OPTION( ) method
Sets the specified socket option. TCP supports a number of socket options. Please refer to TCP documentation for a description of these options.
Return type:
Applies to:
 
Syntax 
SET-SOCKET-OPTION ( name , arguments )
name
A character expression which indicates the name of the socket option to be set.
arguments
A character expression that contains a comma separated list of arguments specific for the option.
Table 106 describes the options ABL supports.
 
An enable indicator, which is either TRUE or FALSE.
*
The onoff indicator, which is either TRUE or FALSE.
*
The linger time. If the onoff indicator is FALSE, the linger time does not need to be provided.
Set arguments to TRUE to turn this option on or to FALSE to turn it off.
Set arguments to TRUE to turn this option on or to FALSE to turn it off.
Set arguments to the desired size of the buffer.
Set arguments to the desired timeout value in seconds.
The SET-SOCKET-OPTION( ) method returns TRUE if setting the option succeeded and returns FALSE otherwise. An error can occur if:
*
name is not an ABL supported socket option
*
*

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