I am trying to get more information about what happens when I connect to a website at a lower level than the HttpWebRequest and HttpWebResponse give me. I am using C #.
I would like to be able to see the dns search information and the time required to establish a connection (if a new connection was established). HttpWebRequest and HttpWebResponse work at a higher level than this, and I want to ask if there is a way to get the underlying TcpClient object (or any other low-level object that they use).
If this is not possible, then is there a way to capture and process the list of connections that .net supports without getting it through HttpWebRequest or HttpWebResponse?
I cannot change the application I'm working on to use TcpClient, because there is too much time for the reliable implementation of the entire http file.
source
share