LumiSoft Mail Server User API
BeginConnect Method (host, port, callback)
Namespaces > LumiSoft.Net.SMTP.Client > SmtpClientEx > BeginConnect(String, Int32, CommadCompleted)
Starts connection to specified host.
Syntax

C# | Visual Basic | Managed C++

    public void BeginConnect (
    	string host,
    	int port,
    	CommadCompleted callback
    )

    Public Sub BeginConnect ( _
    	host As String, _
    	port As Integer, _
    	callback As CommadCompleted _
    )

    public:
    void BeginConnect (
    	String^ host,
    	int port,
    	CommadCompleted^ callback
    )

Parameters

host (String)
  Host name or IP address.
port (Int32)
  Port where to connect.
callback (CommadCompleted)
  Callback to be called if connect ends.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)