I'm working on a TUN/TAP library on Windows. (https://github.com/lixin9311/water) It's basically completed, but I have encountered IO performance issue. Here is a simple demo, just redirect everything from the TAP to another PC via UDP. https://gist.github.com/lixin9311/847b51e44898deabe34794d223c1a7c7 I use a Linux PC and a Windows PC.
https://gist.github.com/lixin9311/847b51e44898deabe34794d223c1a7c7#file-tapdemo-go-L39 This line of code takes a lot of time, sometimes even 10s. Do you have any ideas about this? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.