I have made tests, just want to confirm here since I am new to this method.
HttpListener.BeginGetContext is never blocked?
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,