Saturday, 2 May 2020

Proxy server for Windows HELP

I'm trying to write (from scratch, no 3rd party libs) a proxy server that will take all connections from the operating system and either be 'transparent' and return the desired endpoints' contents, OR if a url matches a predefined list of urls, will return text from a file.I've got the proxy server using sockets, and have all the file reading and processing stuff I need;The bit I'm stuck on is how to return a file as a sort of 'mock/intercepted' response?Any feedback is welcome, let me know if I'm doing something stupid, code available on demand...Thanks in advance for your critiqué!

Submitted May 03, 2020 at 01:18AM by _lovesponge

No comments:

Post a Comment