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

C# | Visual Basic | Managed C++

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

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

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

Parameters

localEndpoint (IPEndPoint)
  Sets local endpoint. Pass null, to use default.
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)