On my PC I have 2 NICS where each one is working with different network.
I’d like to sniff all traffic on 2nd NIC and port 54321.
This is my code.
transport, protocol = await loop.create_datagram_endpoint( lambda: EchoServerProtocol(), local_addr=('0.0.0.0', 54321)
What shall I use in the IP address?
When I’m using the code above, I don’t receive the message at all. When executing ‘netstat’ command, while I’m putting the 2nd NIC IP address, ,I don’t see it at all.