BytesRoad.Net.Sockets.SocketEx.EndConnect C# (CSharp) Метод

EndConnect() публичный Метод

Completes the asynchronous connect to remote host.
EndConnect is a blocking method that completes the asynchronous connection to remote host started in the BytesRoad.Net.Sockets.SocketEx.BeginConnect method.
/// The object was disposed. /// /// An error occurred when attempting to access /// the socket which is used to complete the requested operation. ///
public EndConnect ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult /// An /// IAsyncResult /// that stores state information for /// this asynchronous operation. ///
Результат void
        public void EndConnect(IAsyncResult asyncResult)
        {
            EndTimeoutOp(new ConnectOp(_baseSocket), asyncResult);
        }
        #endregion