Hello
I have a comp with 2 eth cards, connected with patch-cord (direct eth. cable from 1st to 2nd).
The linux is installed, I want to send data from 1st network card to 2nd. And I want to force the packet to pass via cable. I can set up any ip on cards.
With ping I get counters on cards constant.
Is it possible with tcp/ip sockets?
PS. I need to write a program. which will send packets via eth, so stackoverflow-related question. There can be some OS-dependent way, they will help me too