How to send UDP packet if the system has multiple network cards?
You need to send a UDP packet to a device connected to my workstation via Ethernet. The difficulty is that this device only supports a limited network stack, in particular no support for ARP.
To work around this limitation I expect using the manually add entry in ARP cache(arp -s ).
The system has multiple network card, how the OS determines which one will be sent a UDP packet?
As of Python to send UDP-packages with I need network card?