I have a comp with 2 cards associated with a patch cord (live broadcast from 1st to 2nd).
Linux is installed, I want to send data from the 1st network card to the 2nd. And I want to make the packet go through the cable. I can configure any ip on the cards.
With ping, I get constant counters on the cards.
Is this possible with tcp / ip sockets?
PS. I need to write a program. which will send packets through eth, so the stackoverflow related question. Maybe some OS-dependent way, they will help me too.
source
share