How to select whihch ethernet card used for UDP data transfer?
If my desktop has two ethernet cards connected to the network, how can I control the UDP packet sent out through the ethernet card I picked? I could not find the function controlling this. Thanks for help.
Ethernet card is selected based on the local ip address used for binding the UDP socket.