functioning tunnel with test

This commit is contained in:
Asim Aslam
2019-07-11 00:55:50 +01:00
parent b4796724d9
commit 9b1cb4ef0e
3 changed files with 126 additions and 3 deletions

View File

@@ -132,9 +132,11 @@ func (t *tun) listen() {
case "connect":
// assuming new connection
// TODO: do something with this
continue
case "close":
// assuming connection closed
// TODO: do something with this
continue
}
// the tunnel id