- asyncResult
- An IAsyncResult object returned by a call to erload:System.Net.Sockets.TcpClient.BeginConnect.
This method blocks until the operation is complete. To perform this operation synchronously, use a erload:System.Net.Sockets.TcpClient.Connect method.
If you receive a System.Net.Sockets.SocketException, use SocketException.ErrorCode to obtain the specific error code. After you have obtained this code, you can refer to the Windows Sockets version 2 API error code documentation in the MSDN library at tp://msdn.microsoft.com/library for a detailed description of the error.