admin管理员组文章数量:1193390
I have a simple testcase where a client and an echoServer should run on the same device to measure the latency of lwip. But the second program I start can't use the device because it is blocked by the first program:
tapif_init: /dev/net/tun ioctl TUNSETIFF: Device or resource busy
Is there an option that both programs can share the device?
(Yes, I can change the device that is used by the second device but is this necessary? But it is possible that I use more instances in future and I don't want to adjust it for all instances of the program manually. A shared device is the best option for me.)
本文标签: cRun lwip twice on the same device Device or resource busyStack Overflow
版权声明:本文标题:c++ - Run lwip twice on the same device: Device or resource busy - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738412076a2085376.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论