Well, you create a socket for each interface (i.e. you bind each socket to a different interface).

I don't know if there's other way to do it in Winsock.