PreviousNextIndex

CONNECT( ) method (Socket object)

Connects a socket to the specified TCP/IP port on the specified host.

Return type: LOGICAL

Applies to: Socket object handle

Syntax
CONNECT ( [ connection-parms ] ) 

connection-parms

If an error occurs while executing the CONNECT( ) method, the method returns FALSE. Otherwise, it returns TRUE.

When an ABL client (that is not SSL-enabled) calls the CONNECT( ) method and immediately reads data from the socket using the READ( ) method, and an ABL server (that is SSL-enabled) calls the ENABLE-CONNECTIONS( ) method and immediately writes data to the socket using the WRITE( ) method, a deadlock condition can occur. That is, the client is waiting for the server to send data, and the server (regardless of the Write operation) is waiting for the client connection to send data that starts the SSL connection.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex