Disconnect

Description

Ends the connection with the host.

Syntax

ret = Disconnect ( )

Parameters
ret Integer, output
  0 = OK
  Non zero = error

 

Remarks

This is a PASSPORT function.

Example

Sub ZMain()
Disconnect
msgbox ("The session is now disconnected!")   
Connect 10
msgbox ("The session is now connected!")
End Sub