Initiates an asynchronous connect using the specified port.
[Visual Basic] Overloads Public Function BeginConnect( _ ByVal serverAddress As String, _ ByVal port As Integer, _ ByVal userName As String, _ ByVal password As String _ ) As IAsyncResult
The server address (eg. 207.46.133.140 or ftp.microsoft.com).
port
The server command port.
userName
The user name. "anonymous" for an anonymous user.
password
The password. Normally your email address for an anonymous user.
Return Value
The IAsyncResult that identifies the posted asynchronous request.
Remarks
In asynchronous processing, you use BeginConnect to raise the ConnectCompleted event when the connect has completed. You complete the operation by calling EndConnect.