eycorsican / go-tun2socks

A tun2socks implementation written in Go.
MIT License
1.29k stars 431 forks source link

ReceiveTo 请问如何能恢复完整报文? #148

Closed LaoHuan closed 3 years ago

LaoHuan commented 3 years ago

请问,ReceiveTo 得到得data只有数据部分,如何把原始头加上喃?

LaoHuan commented 3 years ago

移动 payload 就行了。关了