mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
Split off a new SOCKS5 connect() method from Dial. connect() takes an existing connection to a socks5 server, and commands the server to extend that connection to a given target address and port. Change-Id: I5dbba58a67a0d884bda3d3ac194dc18bdebe74ab Reviewed-on: https://go-review.googlesource.com/36643 Reviewed-by: Adam Langley <agl@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>