Hello everyone,


I have made tests, just want to confirm here since I am new to this method.

1.

HttpListener.BeginGetContext is never blocked?

2.

If we wait on the handle, like this, then the wait handle will be signalled immediately when we call EndGetContext, like this "listener.EndGetContext(result)"?

Code:
    IAsyncResult result = listener.BeginGetContext(new AsyncCallback(ListenerCallback),listener);
    result.AsyncWaitHandle.WaitOne();

thanks in advance,
George