Ok so if i want to block any url's that include ex: "http://ad." from being sent via socket once requested by a client application. once i block that AD request from being sent out, do i have to send a socket of identical size(identical sizeof the AD) so the client doesnt keep asking for it? or how to i take care of that?
I am requesting pages for the client like this:
Or, if the request from the client is an invalid request(cannot be resolved) how to i make the browser stop waiting for me to reply a response?
I am requesting pages for the client like this:
Code:
System.Net.Configuration.HttpWebRequestElement wr = new System.Net.Configuration.HttpWebRequestElement(); wr.UseUnsafeHeaderParsing = true; try { WebResponse response = (WebResponse)WebRequest.Create(url).GetResponse(); Stream responsestream = response.GetResponseStream();
Comment