:Disconnect()


Class

     aprTelnet()

 

Syntax

     :Disconnect( [hSession] ) --> lSuccess

 

Parameters

     hSession (optional)

           If hSession is not passed, the value in :Session will be used.

 

Return

     lSuccess, a Logical indicating Success or Failure of the Method.

     If the Method fails the return value is .F.. To get further error information see :nErr and :cErr

 

Description

Terminates the connection with the remote server, closing the socket and releasing the memory allocated for the session.

 

See Also

:Connect()