Exemplo n.º 1
0
		private void DelegateReceiveCompleted (object sender, CompletedEventArgs args)
		{
			if (ReceiveCompleted == null)
				return;
			
			ReceiveCompletedEventArgs newArgs = new ReceiveCompletedEventArgs (this, args.AsyncResult);			
			ReceiveCompleted (sender, newArgs);
		}
Exemplo n.º 2
0
		private void DelegatePeekCompleted (object sender, CompletedEventArgs args)
		{
			if (PeekCompleted == null)
				return;
			
			PeekCompletedEventArgs newArgs = new PeekCompletedEventArgs (this, args.AsyncResult);			
			PeekCompleted (sender, newArgs);
		}