title: Socket change in LSP
body: <p>Is it possible to change the destination socket (IP and port) of the outgoing packets using LSP (Layered Service Provider) in Windows?</p>
  
  <p>For example, I want to redirect all HTTP packets to a proxy server (given IP/port). This way I can create "system-wide" proxy for Windows.</p>
  
  <p>I tried to include a call to <code>WSPSendTo</code> inside the function <code>WSPSend</code> to do the redirection. These two functions take the same parameters except that <code>WSPSendTo</code> takes two more parameters (<code>const struct sockaddr FAR *</code>, and <code>int</code>).</p>
  
  <p>The problem is that the traffic has not been directed to the proxy specified in the code. I verified this using wireshark!</p>