Connects to server. Without SSL.

Namespace:  Lesnikowski.Client
Assembly:  Mail (in Mail.dll) Version: 3.0.10245.1711

Syntax

C#
public void Connect(
	string host,
	int port
)
Visual Basic (Declaration)
Public Sub Connect ( _
	host As String, _
	port As Integer _
)
Visual C++
public:
void Connect(
	String^ host, 
	int port
)

Parameters

host
Type: System..::.String
Host name or IP address.
port
Type: System..::.Int32
Port number.

Exceptions

ExceptionCondition
Lesnikowski.Client..::.ServerException -ERR response, Connection error.

See Also