Establishes a connection with the host.
ret = Connect (timeout)
| ret | Integer, output |
| 0 = OK | |
| Non zero = timed out/error | |
| timeout | Integer, input |
| The number of seconds to wait before indicating a time out condition. |
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