SET-CONNECT-PROCEDURE( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Identifies the name of the procedure that is invoked when a CONNECT event occurs.
Return type: LOGICAL
Applies to: Server socket object handle
Syntax
|
- 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 Programming Interfaces.