 | TcpTextClientBeginConnect(String, Int32, Boolean, AsyncCallback) Method |
Begins an asynchronous request for a remote server connection.
Namespace: Limilabs.FTP.ClientAssembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntaxpublic IAsyncResult BeginConnect(
string host,
int port,
bool useSSL,
AsyncCallback asyncCallback
)
Public Function BeginConnect (
host As String,
port As Integer,
useSSL As Boolean,
asyncCallback As AsyncCallback
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
String^ host,
int port,
bool useSSL,
AsyncCallback^ asyncCallback
)
member BeginConnect :
host : string *
port : int *
useSSL : bool *
asyncCallback : AsyncCallback -> IAsyncResult Parameters
- host String
- The name or IP address of the remote server.
- port Int32
- The port number of the remote server.
- useSSL Boolean
- Creates SSL connection when set to true.
- asyncCallback AsyncCallback
- The AsyncCallback delegate.
Return Value
IAsyncResultAn IAsyncResult that references the asynchronous connection.
See Also