Progress
Language Reference


GET-SOCKET-OPTION( ) Method

If TRUE, returns a comma separated string containing values appropriate for the socket option specified; otherwise, returns the unknown value (?).

Return Type: CHARACTER

Applies To: Socket Object Handle

SYNTAX
GET-SOCKET-OPTION( name ) 

name

A character expression which indicates the name of the socket option to be retrieved. Progress supports getting only TCP-NODELAY and SO-LINGER options.

For TCP-NODELAY, the return string contains the enable indicator, which is either TRUE or FALSE. For SO-LINGER, the return string contains two values, the onoff indicator followed by the linger time.

This method returns option specific data if retrieving the option succeeded and returns the unknown (?) value otherwise. An error can occur if:


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095