It seems this project attracts a lot of attention since this is the 1st hit if you search "go socks5", but be warned this is not what you're looking for, for example:
I don't want go to details, but TCP is a stream protocol, there is no guarantee the first Read will only read the 1st byte magically, this is just plain wrong.
It seems this project attracts a lot of attention since this is the 1st hit if you search "go socks5", but be warned this is not what you're looking for, for example:
https://github.com/armon/go-socks5/blob/master/socks5.go#L127
I don't want go to details, but TCP is a stream protocol, there is no guarantee the first
Read
will only read the 1st byte magically, this is just plain wrong.