LumiSoft Mail Server User API
Connect Method (localEndpoint, host, port)
Namespaces > LumiSoft.Net.SMTP.Client > SmtpClientEx > Connect(IPEndPoint, String, Int32)
Connects to sepcified host.
Syntax

C# | Visual Basic | Managed C++

    public void Connect (
    	IPEndPoint localEndpoint,
    	string host,
    	int port
    )

    Public Sub Connect ( _
    	localEndpoint As IPEndPoint, _
    	host As String, _
    	port As Integer _
    )

    public:
    void Connect (
    	IPEndPoint^ localEndpoint,
    	String^ host,
    	int port
    )

Parameters

localEndpoint (IPEndPoint)
  Sets local endpoint. Pass null, to use default.
host (String)
  Host name or IP address.
port (Int32)
  Port where to connect.

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