public override IAsyncResult BeginConnect(System.Net.EndPoint endPoint, AsyncCallback callback, Object state) { ConnectWrapper lWrapper = new ConnectWrapper(callback, state); this.fInnerConnection.BeginConnect(endPoint, new AsyncCallback(lWrapper.ConnectionConnect), this); return(lWrapper); }
public override IAsyncResult BeginConnect(System.Net.EndPoint endPoint, AsyncCallback callback, Object state) { ConnectWrapper lWrapper = new ConnectWrapper(callback, state); this.fInnerConnection.BeginConnect(endPoint, new AsyncCallback(lWrapper.ConnectionConnect), this); return lWrapper; }