Previous Next

SET-CONNECT-PROCEDURE( ) method
Identifies the name of the procedure that is invoked when a CONNECT event occurs.
Return type:
Applies to:
 
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 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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.