LumiSoft Mail Server User API
Connect Method (host, port, ssl)
Namespaces > LumiSoft.Net > SocketEx > Connect(String, Int32, Boolean)
Connects to the specified host.
Syntax

C# | Visual Basic | Managed C++

    public void Connect (
    	string host,
    	int port,
    	bool ssl
    )

    Public Sub Connect ( _
    	host As String, _
    	port As Integer, _
    	ssl As Boolean _
    )

    public:
    void Connect (
    	String^ host,
    	int port,
    	bool ssl
    )

Parameters

host (String)
  Host name or IP where to connect.
port (Int32)
  TCP port number where to connect.
ssl (Boolean)
  Specifies if to connected via SSL.

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