Win32 sockets - Forcing ip packets to leave physical interfaces when sending to other local interfaces
问题 Summary: I'm trying to create sockets to pass data between two physical interfaces that exist on the same machine, and Win32 sockets always forwards the traffic directly in the kernel instead of pushing through the physical interfaces. Is there any way to disable this behavior, perhaps through device settings, registry tweaks, routing table shenanigans, or socket options? We're using Windows XP SP3. Some background. I'm attempting to build some completely automated IP tests to exercise our