(broken state) more WIP on tuntap stuff

This commit is contained in:
Arceliar 2021-05-08 11:14:50 -05:00
parent 0cff56fcc1
commit 5b22392c66
3 changed files with 96 additions and 2 deletions

View file

@ -171,6 +171,8 @@ func (tun *TunAdapter) _start() error {
// TODO go tun.handler()
tun.reader.Act(nil, tun.reader._read) // Start the reader
tun.ckr.init(tun)
go tun.doRead()
go tun.doWrite()
return nil
}