Beispiel #1
0
        public IAsyncResult BeginConnect(IPEndPoint endPoint, AsyncCallback callback, object state)
        {
            AsyncConnectRegistration asyncRegistration = new AsyncConnectRegistration(this, endPoint, callback, state);

            _processor.AddCommand(asyncRegistration);

            return(null);
        }
Beispiel #2
0
		public IAsyncResult BeginConnect(IPEndPoint endPoint, AsyncCallback callback, object state)
		{
			AsyncConnectRegistration asyncRegistration = new AsyncConnectRegistration(this, endPoint, callback, state);

			_processor.AddCommand(asyncRegistration);

			return null;
		}