I have converted my custom (socket-based) server over to an HTTP Handler in IIS (.NET 4.0).
I have converted my client to send an HTTP GET in the proper format.
I do not want to change my client's response-handling code to parse out the HTML code. That is a pain in the rear that is also unnecessary. I do not need this server to work with a browser or be compatible with anything except my client.
So, I basically need the HTTP Handler (server) to send the response that the client expects -- without the "HTML/1.0", headers and whatnot.
I am using the HttpContext.Response.Write() method at the moment. I figure there is either a way to write raw data to the response, or a way to delete all the headers and HTML tags around the data I want to send.
Thanks in advance for any help. Dave