Hi Dave, this is what I did... and using a normal fd Read() to a "normal" file pointer works, returning the proper size of the frame.
So I am not using libraries anymore.... I was just confused because when you google, it seems the libraries I was using are "the" solution to the problem.... On Sunday, 18 June 2017 01:40:37 UTC+2, Dave Cheney wrote: > > That tap/tun interface is a good way of do this. It's built into linux and > there is a driver for osx. There are packages available in godoc.org, and > it's not hard to write your own (as you literally write raw frames to the > tun interface) -- 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.