Progress
Language Reference


SET-CONNECT-PROCEDURE( ) Method

This method is used to identify the name of the procedure that is invoked when a CONNECT event occurs.

Return Type: LOGICAL

Applies To: Server-socket Object Handle

SYNTAX
SET-CONNECT-PROCEDURE( event-internal-procedure  [ , procedure-context ] ) 

event-internal-procedure

A quoted string or character expression representing the name of an internal procedure that resides within procedure-context. When a client has requested a connection to this port, the specified internal procedure is called.

procedure-context

A handle to a procedure that contains the internal procedure specified by event-internal-procedure. If not specified, THIS-PROCEDURE is used as the procedure-context.

Returns FALSE if procedure-context is not a valid widget handle, returns TRUE otherwise. If this method is not invoked, or if it fails, no connection procedure will be executed when the CONNECT event occurs.

For more information on connecting sockets, see the Progress External Program Interfaces manual.


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