Hi, I'm trying to write a Tun device for linux. I learned a lot from github.com/songgao/water and wireguard-go on how to create a tun interface.
However, I'm not sure how to leverage std/net to read from and write to it. water seems to leave the read & write part to its users, and wireguard-go seems to parse/generate packets by its own logic. I wonder if given a linux fd, is it possible to leverage std/net to read from and write to the corresponding Tun device? Regards, Glen -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/cd05531b-e047-440b-88ae-c57e00300d0cn%40googlegroups.com.