My computer has two Ethernet ports for receiving data, and each port has an open socket. The sender also has two Ethernet ports, and they are synchronizing and transmitting the same data.
Based on my understanding, when a UDP socket is open, incoming data is accumulated in the socket buffer. However, I want to be able to receive the same data from the sender at my convenience.
How can I disable and enable the receiving (Rx) of the network interface card (NIC) in my application S/W?