Answer the question
In order to leave comments, you need to log in
How to use BERKELEY SOCKETS to tune in to multiple network interfaces?
Hello, how to connect a tcp socket to a specific board?
Answer the question
In order to leave comments, you need to log in
Create socket socket(AF_PACKET, ...).
Find out the board number, use it in a struct sockaddr_ll type variable, bind the created socket using this variable.
Read more: Capture only from a particular network
interface
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question