Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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;
        }