Returns a comma separated string containing values appropriate for the specified socket option. Otherwise, it returns the Unknown value (?).
Return type: CHARACTER
Applies to: Socket object handle
Option | Value returned |
---|---|
TCP-NODELAY | An enable indicator, which is either TRUE or FALSE. |
SO-LINGER | Two comma separated values:
|
SO-KEEPALIVE | TRUE if the option is on; FALSE otherwise.The
default depends on how the socket object was created:
|
SO-REUSEADDR | TRUE if the option is on; FALSE otherwise.The default depends on the platform. |
SO-RCVBUF | An integer that indicates the size of the receive buffer.The default depends on the platform. |
SO-SNDBUF | An integer that indicates the size of the send buffer.The default depends on the platform. |
SO-RCVTIMEO | The timeout length—that is, the number of seconds
you want the socket to wait for expected data before timing out.The
default is -1, which tells the socket to wait forever. 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: