i am looking to redirect outgoing http connections (which do not use the system proxy) on a windows machine.
Background:
I have some legacy software that interacts with a now defunct web service. I have emulated that service in a simple desktop application, and would like to reroute the outgoing http requests to this app.
Experimentally i have used the windows hosts file to redirect to localhost successfully, but this is impractical as i have other services that need to listen on default http port 80, and i do not want to setup another physical server just for this
The legacy software does not use the system proxy, so solutions like FiddlerCore wont work (unfortunately, because this is awesome!)
I have noticed EasyHook mentioned in similar questions, in conjunction with winsock, but my experiance of lower level programming is extremely limited, and before i embark on a long and confusing journey, i would like to check i am on the correct path!
So, is it theoretically possible to intercept and redirect outgoing http traffic that does not use the system proxy by hooking winsock (preferably with easyHook in c#)?
A simple yes / no answer will be fine, some reasoning, or even better documentation would be fantastic