FlowerWrong / tun2socks

Redirect tun flow to socks 5 in golang, support tcp and udp.
427 stars 107 forks source link

Error while compiling in Windows #65

Open JayBitron opened 5 years ago

JayBitron commented 5 years ago
# github.com/FlowerWrong/tun2socks/tun2socks
..\tun2socks\stack.go:56:14: assignment mismatch: 2 variables but 1 values
..\tun2socks\stack.go:56:28: not enough arguments in call to fdbased.New
        have (*fdbased.Options)
        want (*water.Interface, *fdbased.Options)
..\tun2socks\stack.go:61:3: unknown field 'PacketDispatchMode' in struct literal of type fdbased.Options
..\tun2socks\tcp.go:22:19: not enough arguments in call to ep.Bind
        have (tcpip.FullAddress)
        want (tcpip.FullAddress, func() *tcpip.Error)
..\tun2socks\udp.go:28:19: not enough arguments in call to ep.Bind
        have (tcpip.FullAddress)
        want (tcpip.FullAddress, func() *tcpip.Error)
ghost commented 4 years ago

You'd better say "Error while compiling on Windows"