MFP.Connect

Description

Establishes a connection to the Message Feed server.

The function returns a handle of type record MFP.Handle for the connection. This handle must be freed using the MFP.Disconnect statement.

Syntax

MFP.Connect(host, service, timeout)

Parameters

Error handling

When an error occurs, the function throws an exception of type MFP.$Exception and sets the $Error reserved variable to the following value:

MFP.$Error_ErrorConnectConnectfail – The connection to the Message Feed server failed.

Example

Related commands

MFP.Disconnect