GET-SOCKET-OPTION( ) methodReturns a comma separated string containing values appropriate for the specified socket option. Otherwise, it returns the Unknown value (?).
Return type:
Applies to:
GET-SOCKET-OPTION ( name )A character expression indicating the name of the socket option to be retrieved. Table 81 describes the options ABL supports.
Table 81: An enable indicator, which is either TRUE or FALSE.
![]()
The onoff indicator, which is either TRUE or FALSE.
![]()
![]()
For socket objects created using CREATE SOCKET, the default is off.
![]()
For socket objects created by ABL and passed as a parameter to the event-procedure context, the default is on. The timeout length—that is, the number of seconds you want the socket to wait for expected data before timing out.Note: The timeout length is not guaranteed to be precise to the second.This method returns option-specific data if the retrieval of the option succeeded and the Unknown value (?) otherwise. An error can occur if:
![]()
The value of name is not an ABL-supported socket option
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |