Progress
Language Reference


DISCONNECT( ) Method

For the AppServer, disconnects the client from the Progress AppServer associated with the specified handle. For the socket, closes the socket by terminating the connection between the socket and the port to which it is connected.

Return Type: LOGICAL

Applies To: Server Object Handle, Socket Object Handle

SYNTAX
DISCONNECT ( ) 

If an error occurs during the disconnection from an AppServer, DISCONNECT( ) returns FALSE. An error occurs if:

If DISCONNECT( ) completes successfully, the CONNECTED( ) method returns FALSE.

For more information on Progress AppServers, see Building Distributed Applications Using the Progress AppServer .

Progress will automatically close the socket if it detects that the connection to which the socket is bound has failed or been terminated.


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