|I have 2 NICs installed in a PC. NIC1 is connected to internet and NIC2 communicates with a processor board.|
Both NICs work well, I hace access to internet from the NIC1, and I can send with NIC2 from PC to processor board and I can also send from processor board to PC.
I'm now programming a piece of software which records packets from the processor board using NIC2, but the packets never appear into my program from NIC2 although I can see the incoming packet with a network monitor (WireShark). If I send locally to IP-address 127.0.0.1 (localhost) then the sent packet comes into my program, but through NIC1. I'm quite lost with this. Can somebody point me the possible reason for this?