I'm working on an Asynchronous HTTP handler and trying to figure out if the HttpResponse.Write
function blocks until it receives an ACK from the client.
The MSDN documentation doesn't specifically say; however, I do know that the MSDN documentation for the ISAPI WriteClient() function (a similar mechanism) mentions that the synchronous version does block while attempting to send data to the client.
I thought of three possible ways to determine the answer:
- Have someone tell me its non-blocking
- Write a low level TCP test client and set break point on the acknowledgement ( is this possible?)
- Use reflection to inspect the inner workings of the
HTTPResponse.Write
method ( is this possible?)