Closed calder closed 5 years ago
Each interface corresponds to a file descriptor, so it probably doesn’t make sense to have multiple threads working on the same interface. If The goal is to have parallel streams to increase throughout, Linux has multiqueue support for TUN/TAP: https://www.kernel.org/doc/Documentation/networking/tuntap.txt
Closing. Feel free to reopen if you have further questions.
Starter questions:
Read
from the sameIfce
?Write
to the sameIfce
?Read
andWrite
calls by multiple threads?