FaxServer.Connect method

The Connect method connects a fax client application to the specified fax server. Before accessing most interfaces that begin with IFax, the application must call this method to initiate a connection with an active fax server. A fax server connection is not required to access an IFaxTiff interface.

Syntax

FaxServer.Connect( _
  ByVal ServerName As String _
) As Long

Parameters

ServerName [in]

Type: String

Specifies a null-terminated string that contains the name of the target fax server. If this parameter is Null, the method connects the application to the fax server on the local computer. See Connecting to a Fax Server for limitations on connecting to remote servers.

Remarks

The fax client application must call the Disconnect method to disconnect from the fax server.

For more information, see Connecting to a Fax Server and Disconnecting from a Fax Server.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Faxcom.h
DLL
Faxcom.dll

See also

FaxServer

Fax Service Client API for Windows 2000

Fax Service Client API Interfaces

FaxServer

Disconnect

Connecting to a Fax Server

Disconnecting from a Fax Server