hell,
Please, explain me better your situation, I am probably missing something.
What I can tell you is that it is not up to the program to decide through which interface the package will go through, that is a job for the routing tables inside the kernel. So, maybe a proper routing table configuration is what you need. But I advise you, this is a complicated thing to do.
Unless the addresses of both interfaces are on the same network, it will be very hard for the kernel to figure out which package you want to go through which interface.
Cheers!