Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## SET-CONNECT-PROCEDURE( ) method

> Identifies 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 OpenEdge Development: Programming Interfaces .

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