mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
work in progress, establishes TCP connections and gets through metadata handshake using the link code, but doesn't seem to send traffic yet (no switch peers are created)
This commit is contained in:
parent
5a4d6481dd
commit
137212d8cf
4 changed files with 137 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
package yggdrasil
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
//"fmt"
|
||||
"sync"
|
||||
)
|
||||
|
||||
|
@ -30,6 +30,7 @@ func (l *awdl) init(c *Core) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
/* temporarily disabled while getting the TCP side to work
|
||||
func (l *awdl) create(fromAWDL chan []byte, toAWDL chan []byte, name string) (*awdlInterface, error) {
|
||||
link, err := l.core.link.create(fromAWDL, toAWDL, name)
|
||||
if err != nil {
|
||||
|
@ -90,3 +91,4 @@ func (ai *awdlInterface) handler() {
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue