If the question isn't clear enough, consider this situation:
- Establish a TCP/IP connection from computer C to server X
- Change the default gateway (of computer C) from gateway A to gateway B (both gateways can reach server X)
Now, which gateway will the packets go through? If it depends on the OS, please tell me the behavior of Windows and Linux.
(edited to clarify the question)